Enum Class AUSTRALIA

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

public enum AUSTRALIA extends Enum<AUSTRALIA> implements StdZoneIdentifier

Contains all standard timezone IDs in Australia.

  • Enum Constant Details

    • ADELAIDE

      public static final AUSTRALIA ADELAIDE
    • BRISBANE

      public static final AUSTRALIA BRISBANE
    • BROKEN_HILL

      public static final AUSTRALIA BROKEN_HILL
    • CURRIE

      public static final AUSTRALIA CURRIE
    • DARWIN

      public static final AUSTRALIA DARWIN
    • EUCLA

      public static final AUSTRALIA EUCLA
    • HOBART

      public static final AUSTRALIA HOBART
    • LINDEMAN

      public static final AUSTRALIA LINDEMAN
    • LORD_HOWE

      public static final AUSTRALIA LORD_HOWE
    • MELBOURNE

      public static final AUSTRALIA MELBOURNE
    • PERTH

      public static final AUSTRALIA PERTH
    • SYDNEY

      public static final AUSTRALIA SYDNEY
  • Method Details

    • values

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