Uses of Enum Class
net.time4j.tz.NameStyle
Packages that use 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
Methods in net.time4j.format.expert with parameters of type NameStyleModifier 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
Methods in net.time4j.tz that return NameStyleModifier 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.Methods in net.time4j.tz with parameters of type NameStyleModifier 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.