Enum Class PACIFIC

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

public enum PACIFIC extends Enum<PACIFIC> implements StdZoneIdentifier

Contains all standard timezone IDs in Pacific Ocean.

  • Enum Constant Details

    • APIA

      public static final PACIFIC APIA
    • AUCKLAND

      public static final PACIFIC AUCKLAND
    • CHATHAM

      public static final PACIFIC CHATHAM
    • CHUUK

      public static final PACIFIC CHUUK
    • EASTER

      public static final PACIFIC EASTER
    • EFATE

      public static final PACIFIC EFATE
    • ENDERBURY

      public static final PACIFIC ENDERBURY
    • FAKAOFO

      public static final PACIFIC FAKAOFO
    • FIJI

      public static final PACIFIC FIJI
    • FUNAFUTI

      public static final PACIFIC FUNAFUTI
    • GALAPAGOS

      public static final PACIFIC GALAPAGOS
    • GAMBIER

      public static final PACIFIC GAMBIER
    • GUADALCANAL

      public static final PACIFIC GUADALCANAL
    • GUAM

      public static final PACIFIC GUAM
    • HONOLULU

      public static final PACIFIC HONOLULU
    • JOHNSTON

      public static final PACIFIC JOHNSTON
    • KIRITIMATI

      public static final PACIFIC KIRITIMATI
    • KOSRAE

      public static final PACIFIC KOSRAE
    • KWAJALEIN

      public static final PACIFIC KWAJALEIN
    • MAJURO

      public static final PACIFIC MAJURO
    • MARQUESAS

      public static final PACIFIC MARQUESAS
    • MIDWAY

      public static final PACIFIC MIDWAY
    • NAURU

      public static final PACIFIC NAURU
    • NIUE

      public static final PACIFIC NIUE
    • NORFOLK

      public static final PACIFIC NORFOLK
    • NOUMEA

      public static final PACIFIC NOUMEA
    • PAGO_PAGO

      public static final PACIFIC PAGO_PAGO
    • PALAU

      public static final PACIFIC PALAU
    • PITCAIRN

      public static final PACIFIC PITCAIRN
    • POHNPEI

      public static final PACIFIC POHNPEI
    • PORT_MORESBY

      public static final PACIFIC PORT_MORESBY
    • RAROTONGA

      public static final PACIFIC RAROTONGA
    • SAIPAN

      public static final PACIFIC SAIPAN
    • TAHITI

      public static final PACIFIC TAHITI
    • TARAWA

      public static final PACIFIC TARAWA
    • TONGATAPU

      public static final PACIFIC TONGATAPU
    • WAKE

      public static final PACIFIC WAKE
    • WALLIS

      public static final PACIFIC WALLIS
  • Method Details

    • values

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