Package net.time4j.tz.olson
Enum Class AMERICA.KENTUCKY
- All Implemented Interfaces:
Serializable,Comparable<AMERICA.KENTUCKY>,java.lang.constant.Constable,StdZoneIdentifier,TZID
- Enclosing class:
- AMERICA
Contains all standard timezone IDs in USA/Kentucky.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionRepresents the full canonical name of a timezone (for example "Europe/Paris" or "UTC+01:00").getCity()Yields the exemplar city.Yields the belonging country in ISO-3166-format - related to the exemplar city.Yields the timezone region - in most cases a continent.static AMERICA.KENTUCKYReturns the enum constant of this class with the specified name.static AMERICA.KENTUCKY[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
LOUISVILLE
-
MONTICELLO
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
canonical
Description copied from interface:TZIDRepresents the full canonical name of a timezone (for example "Europe/Paris" or "UTC+01:00").
-
getRegion
Description copied from interface:StdZoneIdentifierYields the timezone region - in most cases a continent.
- Specified by:
getRegionin interfaceStdZoneIdentifier- Returns:
- the first part of zone identifier (for example "Europe" in "Europe/Paris")
-
getCity
Description copied from interface:StdZoneIdentifierYields the exemplar city.
- Specified by:
getCityin interfaceStdZoneIdentifier- Returns:
- the second part of zone identifier (for example "Paris" in "Europe/Paris")
-
getCountry
Description copied from interface:StdZoneIdentifierYields the belonging country in ISO-3166-format - related to the exemplar city.
- Specified by:
getCountryin interfaceStdZoneIdentifier- Returns:
- country code
-