Uses of Enum Class
net.time4j.tz.NameStyle
Package
Description
This package contains the expert-level format- and parse engine of Time4J.
General timezone-API.
-
Uses of NameStyle in net.time4j.format.expert
Modifier and TypeMethodDescriptionChronoFormatter.Builder.addTimezoneName(NameStyle style)
Adds a localized timezone name in given style.ChronoFormatter.Builder.addTimezoneName(NameStyle style, Set<TZID> preferredZones)
Adds a localized timezone name in given style. -
Uses of NameStyle in net.time4j.tz
Modifier and TypeMethodDescriptionstatic NameStyle
Returns the enum constant of this class with the specified name.static NameStyle[]
NameStyle.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionTimezone.getDisplayName(NameStyle style, Locale locale)
Returns the name of this timezone suitable for presentation to users in given style and locale.static String
Timezone.getDisplayName(TZID tzid, NameStyle style, Locale locale)
Returns the name of a timezone suitable for presentation to users in given style and locale.ZoneNameProvider.getDisplayName(String zoneID, NameStyle style, Locale locale)
Returns the name of this timezone suitable for presentation to users in given style and locale.