Enum Class AMERICA.INDIANA

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

public static enum AMERICA.INDIANA extends Enum<AMERICA.INDIANA> implements StdZoneIdentifier

Contains all standard timezone IDs in USA/Indiana.

  • Enum Constant Details

  • Method Details

    • values

      public static AMERICA.INDIANA[] 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 AMERICA.INDIANA 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