Enum Class ATLANTIC

java.lang.Object
java.lang.Enum<ATLANTIC>
net.time4j.tz.olson.ATLANTIC
All Implemented Interfaces:
Serializable, Comparable<ATLANTIC>, java.lang.constant.Constable, StdZoneIdentifier, TZID

public enum ATLANTIC extends Enum<ATLANTIC> implements StdZoneIdentifier

Contains all standard timezone IDs in Atlantic Ocean.

  • Enum Constant Details

    • AZORES

      public static final ATLANTIC AZORES
    • BERMUDA

      public static final ATLANTIC BERMUDA
    • CANARY

      public static final ATLANTIC CANARY
    • CAPE_VERDE

      public static final ATLANTIC CAPE_VERDE
    • FAROE

      public static final ATLANTIC FAROE
    • MADEIRA

      public static final ATLANTIC MADEIRA
    • REYKJAVIK

      public static final ATLANTIC REYKJAVIK
    • SOUTH_GEORGIA

      public static final ATLANTIC SOUTH_GEORGIA
    • ST_HELENA

      public static final ATLANTIC ST_HELENA
    • STANLEY

      public static final ATLANTIC STANLEY
  • Method Details

    • values

      public static ATLANTIC[] 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

      public static ATLANTIC valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • canonical

      public String canonical()
      Description copied from interface: TZID

      Represents the full canonical name of a timezone (for example "Europe/Paris" or "UTC+01:00").

      Specified by:
      canonical in interface TZID
      Returns:
      String in TZDB format (Olson-ID) or in canonical offset format
    • getRegion

      public String getRegion()
      Description copied from interface: StdZoneIdentifier

      Yields the timezone region - in most cases a continent.

      Specified by:
      getRegion in interface StdZoneIdentifier
      Returns:
      the first part of zone identifier (for example "Europe" in "Europe/Paris")
    • getCity

      public String getCity()
      Description copied from interface: StdZoneIdentifier

      Yields the exemplar city.

      Specified by:
      getCity in interface StdZoneIdentifier
      Returns:
      the second part of zone identifier (for example "Paris" in "Europe/Paris")
    • getCountry

      public String getCountry()
      Description copied from interface: StdZoneIdentifier

      Yields the belonging country in ISO-3166-format - related to the exemplar city.

      Specified by:
      getCountry in interface StdZoneIdentifier
      Returns:
      country code