| Package | Description |
|---|---|
| net.time4j.format.expert |
This package contains the expert-level format- and parse engine of Time4J.
|
| net.time4j.tz |
General timezone-API.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoFormatter.Builder<T> |
ChronoFormatter.Builder.addTimezoneName(NameStyle style)
Adds a localized timezone name in given style.
|
ChronoFormatter.Builder<T> |
ChronoFormatter.Builder.addTimezoneName(NameStyle style,
Set<TZID> preferredZones)
Adds a localized timezone name in given style.
|
| Modifier and Type | Method and Description |
|---|---|
static NameStyle |
NameStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameStyle[] |
NameStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Timezone.getDisplayName(NameStyle style,
Locale locale)
Returns the name of this timezone suitable for presentation to
users in given style and locale.
|
String |
ZoneNameProvider.getDisplayName(String zoneID,
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.
|
Copyright © 2014–2021. All rights reserved.