Enum Class AFRICA

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

public enum AFRICA extends Enum<AFRICA> implements StdZoneIdentifier

Contains all standard timezone IDs in Africa.

  • Enum Constant Details

    • ABIDJAN

      public static final AFRICA ABIDJAN
    • ACCRA

      public static final AFRICA ACCRA
    • ADDIS_ABABA

      public static final AFRICA ADDIS_ABABA
    • ALGIERS

      public static final AFRICA ALGIERS
    • ASMARA

      public static final AFRICA ASMARA
    • BAMAKO

      public static final AFRICA BAMAKO
    • BANGUI

      public static final AFRICA BANGUI
    • BANJUL

      public static final AFRICA BANJUL
    • BISSAU

      public static final AFRICA BISSAU
    • BLANTYRE

      public static final AFRICA BLANTYRE
    • BRAZZAVILLE

      public static final AFRICA BRAZZAVILLE
    • BUJUMBURA

      public static final AFRICA BUJUMBURA
    • CAIRO

      public static final AFRICA CAIRO
    • CASABLANCA

      public static final AFRICA CASABLANCA
    • CEUTA

      public static final AFRICA CEUTA
    • CONAKRY

      public static final AFRICA CONAKRY
    • DAKAR

      public static final AFRICA DAKAR
    • DAR_ES_SALAAM

      public static final AFRICA DAR_ES_SALAAM
    • DJIBOUTI

      public static final AFRICA DJIBOUTI
    • DOUALA

      public static final AFRICA DOUALA
    • EL_AAIUN

      public static final AFRICA EL_AAIUN
    • FREETOWN

      public static final AFRICA FREETOWN
    • GABORONE

      public static final AFRICA GABORONE
    • HARARE

      public static final AFRICA HARARE
    • JOHANNESBURG

      public static final AFRICA JOHANNESBURG
    • JUBA

      public static final AFRICA JUBA
    • KAMPALA

      public static final AFRICA KAMPALA
    • KHARTOUM

      public static final AFRICA KHARTOUM
    • KIGALI

      public static final AFRICA KIGALI
    • KINSHASA

      public static final AFRICA KINSHASA
    • LAGOS

      public static final AFRICA LAGOS
    • LIBREVILLE

      public static final AFRICA LIBREVILLE
    • LOME

      public static final AFRICA LOME
    • LUANDA

      public static final AFRICA LUANDA
    • LUBUMBASHI

      public static final AFRICA LUBUMBASHI
    • LUSAKA

      public static final AFRICA LUSAKA
    • MALABO

      public static final AFRICA MALABO
    • MAPUTO

      public static final AFRICA MAPUTO
    • MASERU

      public static final AFRICA MASERU
    • MBABANE

      public static final AFRICA MBABANE
    • MOGADISHU

      public static final AFRICA MOGADISHU
    • MONROVIA

      public static final AFRICA MONROVIA
    • NAIROBI

      public static final AFRICA NAIROBI
    • NDJAMENA

      public static final AFRICA NDJAMENA
    • NIAMEY

      public static final AFRICA NIAMEY
    • NOUAKCHOTT

      public static final AFRICA NOUAKCHOTT
    • OUAGADOUGOU

      public static final AFRICA OUAGADOUGOU
    • PORTO_NOVO

      public static final AFRICA PORTO_NOVO
    • SAO_TOME

      public static final AFRICA SAO_TOME
    • TRIPOLI

      public static final AFRICA TRIPOLI
    • TUNIS

      public static final AFRICA TUNIS
    • WINDHOEK

      public static final AFRICA WINDHOEK
  • Method Details

    • values

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