Enum Class INDIAN

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

public enum INDIAN extends Enum<INDIAN> implements StdZoneIdentifier

Contains all standard timezone IDs in Indian Ocean.

  • Enum Constant Details

    • ANTANANARIVO

      public static final INDIAN ANTANANARIVO
    • CHAGOS

      public static final INDIAN CHAGOS
    • CHRISTMAS

      public static final INDIAN CHRISTMAS
    • COCOS

      public static final INDIAN COCOS
    • COMORO

      public static final INDIAN COMORO
    • KERGUELEN

      public static final INDIAN KERGUELEN
    • MAHE

      public static final INDIAN MAHE
    • MALDIVES

      public static final INDIAN MALDIVES
    • MAURITIUS

      public static final INDIAN MAURITIUS
    • MAYOTTE

      public static final INDIAN MAYOTTE
    • REUNION

      public static final INDIAN REUNION
  • Method Details

    • values

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