public class DefaultNameProvider extends Object implements NameProvider
java.text.DateFormatSymbols
.
DefaultNameProvider is thread-safe and immutable.
Constructor and Description |
---|
DefaultNameProvider() |
public String getShortName(Locale locale, String id, String nameKey)
NameProvider
getShortName
in interface NameProvider
locale
- locale to use for selecting name setid
- time zone idnameKey
- time zone name keypublic String getName(Locale locale, String id, String nameKey)
NameProvider
getName
in interface NameProvider
locale
- locale to use for selecting name setid
- time zone idnameKey
- time zone name keyCopyright © 2012 JBoss by Red Hat. All Rights Reserved.