java.lang.Object
java.lang.Enum<HolidayType>
com.timeanddate.services.dataTypes.holidays.HolidayType
All Implemented Interfaces:
Serializable, Comparable<HolidayType>

public enum HolidayType extends Enum<HolidayType>
Author:
Cato Auestad <cato@timeanddate.com>
  • Enum Constant Details

    • ALL

      public static final HolidayType ALL
    • DEFAULT

      public static final HolidayType DEFAULT
    • DEFAULTFORCOUNTRY

      public static final HolidayType DEFAULTFORCOUNTRY
    • OBSERVANCES

      public static final HolidayType OBSERVANCES
    • FEDERAL

      public static final HolidayType FEDERAL
    • FEDERALLOCAL

      public static final HolidayType FEDERALLOCAL
    • LOCAL

      public static final HolidayType LOCAL
    • FLAGDAYS

      public static final HolidayType FLAGDAYS
    • LOCALOBSERVANCES

      public static final HolidayType LOCALOBSERVANCES
    • IMPORTANTOBSERVANCES

      public static final HolidayType IMPORTANTOBSERVANCES
    • COMMONOBSERVANCES

      public static final HolidayType COMMONOBSERVANCES
    • OTHEROBSERVANCES

      public static final HolidayType OTHEROBSERVANCES
    • WEEKDAYS

      public static final HolidayType WEEKDAYS
    • CHRISTIAN

      public static final HolidayType CHRISTIAN
    • BUDDHISM

      public static final HolidayType BUDDHISM
    • HEBREW

      public static final HolidayType HEBREW
    • HINDUISM

      public static final HolidayType HINDUISM
    • MUSLIM

      public static final HolidayType MUSLIM
    • ORTHODOX

      public static final HolidayType ORTHODOX
    • SEASONS

      public static final HolidayType SEASONS
    • TIMEZONEEVENTS

      public static final HolidayType TIMEZONEEVENTS
    • UNITEDNATIONS

      public static final HolidayType UNITEDNATIONS
    • WORLDWIDEOBSERVANCES

      public static final HolidayType WORLDWIDEOBSERVANCES
  • Method Details

    • values

      public static HolidayType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HolidayType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null