Package net.time4j.tz.olson
Enum Class ATLANTIC
- All Implemented Interfaces:
Serializable
,Comparable<ATLANTIC>
,java.lang.constant.Constable
,StdZoneIdentifier
,TZID
Contains all standard timezone IDs in Atlantic Ocean.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
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 ATLANTIC
Returns the enum constant of this class with the specified name.static ATLANTIC[]
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
-
AZORES
-
BERMUDA
-
CANARY
-
CAPE_VERDE
-
FAROE
-
MADEIRA
-
REYKJAVIK
-
SOUTH_GEORGIA
-
ST_HELENA
-
STANLEY
-
-
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:TZID
Represents the full canonical name of a timezone (for example "Europe/Paris" or "UTC+01:00").
-
getRegion
Description copied from interface:StdZoneIdentifier
Yields the timezone region - in most cases a continent.
- Specified by:
getRegion
in interfaceStdZoneIdentifier
- Returns:
- the first part of zone identifier (for example "Europe" in "Europe/Paris")
-
getCity
Description copied from interface:StdZoneIdentifier
Yields the exemplar city.
- Specified by:
getCity
in interfaceStdZoneIdentifier
- Returns:
- the second part of zone identifier (for example "Paris" in "Europe/Paris")
-
getCountry
Description copied from interface:StdZoneIdentifier
Yields the belonging country in ISO-3166-format - related to the exemplar city.
- Specified by:
getCountry
in interfaceStdZoneIdentifier
- Returns:
- country code
-