Enum Class CalendarTypes
- All Implemented Interfaces:
Serializable, Comparable<CalendarTypes>, Constable, net.okapia.osid.torrefacto.collect.TypeEnum
public enum CalendarTypes
extends Enum<CalendarTypes>
implements net.okapia.osid.torrefacto.collect.TypeEnum
An enumeration of Calendar Types.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAkan CalendarBahai CalendarBalinese CalendarBengali CalendarBerber CalendarBuddhist Era over the solar/Gregorian calendar (year + 543)Traditional Buddhist lunisolar calendarBurmese CalendarChinese CalendarChinese Lunisolar CalendarChinese Sexagenary (ganzhi 60-cycle) CalendarCoptic CalendarDiscordian CalendarEthiopian CalendarGregorian CalendarHebrew CalendarHellenic CalendarIgbo CalendarIndian CalendarIslamic CalendarAstronomical Islamic CalendarCivil Islamic CalendarTabular (arithmetic) Islamic CalendarUmm al-Qura (Saudi observational) Islamic CalendarISO8601 CalendarISOWeekdate CalendarJapanese CalendarJavanese (Sultan Agung) lunar calendar, fixed 8-year windu cycleJavanese Pawukon, a 210-day cyclical almanacJuche CalendarJulian CalendarJulian Calendar, Annunciation (Lady Day, March 25) styleKorean Dangi era over the Gregorian calendar (year + 2333)Korean traditional Dangi-era lunisolar calendarKurdish CalendarMalayalam CalendarMinguo (Republic of China) Calendar, still official in TaiwanMongolian CalendarNanakshahi CalendarNepalSambat CalendarNepali CalendarRevisedJulian CalendarRomanian CalendarRumi CalendarSamaritan CalendarSinhala CalendarSolar Hijri (Persian, Jalali) CalendarTamil CalendarThaiLunar CalendarThaiSolar CalendarTibetan CalendarVikram Samvat (Bikram Sambat) CalendarXhosa CalendarYoruba CalendarZoroastrian Calendar -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends CalendarInfo> Gets theCalendarInfoclass (in calendaring/definitions) that implements this calendar, ornullif none is provided.getType()Gets the Type.booleanTests whether this calendar's rule is deterministic -- a complete, proleptic algorithm (pure arithmetic, a fixed offset from another such calendar, or a fixed astronomical algorithm) -- as opposed to one that depends on observation (such as a moon sighting), on sidereal positions, on a debated reconstruction, or on fiction.static CalendarTypesReturns the enum constant of this class with the specified name.static CalendarTypes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AKAN
Akan Calendar -
BAHAI
Bahai Calendar -
BALINESE
Balinese Calendar -
BENGALI
Bengali Calendar -
BERBER
Berber Calendar -
BUDDHIST
Buddhist Era over the solar/Gregorian calendar (year + 543) -
BUDDHIST_LUNISOLAR
Traditional Buddhist lunisolar calendar -
BURMESE
Burmese Calendar -
CHINESE
Chinese Calendar -
CHINESE_LUNISOLAR
Chinese Lunisolar Calendar -
CHINESE_SEXAGENARY
Chinese Sexagenary (ganzhi 60-cycle) Calendar -
COPTIC
Coptic Calendar -
DISCORDIAN
Discordian Calendar -
ETHIOPIAN
Ethiopian Calendar -
GREGORIAN
Gregorian Calendar -
HEBREW
Hebrew Calendar -
HELLENIC
Hellenic Calendar -
IGBO
Igbo Calendar -
INDIAN
Indian Calendar -
ISO_8601
ISO8601 Calendar -
ISO_WEEKDATE
ISOWeekdate Calendar -
ISLAMIC
Islamic Calendar -
ISLAMIC_TABULAR
Tabular (arithmetic) Islamic Calendar -
ISLAMIC_CIVIL
Civil Islamic Calendar -
ISLAMIC_UMM_AL_QURA
Umm al-Qura (Saudi observational) Islamic Calendar -
ISLAMIC_ASTRONOMICAL
Astronomical Islamic Calendar -
JAPANESE
Japanese Calendar -
JAVANESE
Javanese (Sultan Agung) lunar calendar, fixed 8-year windu cycle -
JAVANESE_PAWUKON
Javanese Pawukon, a 210-day cyclical almanac -
JUCHE
Juche Calendar -
JULIAN
Julian Calendar -
JULIAN_ANNUNCIATION
Julian Calendar, Annunciation (Lady Day, March 25) style -
KOREAN_DANGI
Korean Dangi era over the Gregorian calendar (year + 2333) -
KOREAN_DANGI_LUNISOLAR
Korean traditional Dangi-era lunisolar calendar -
KURDISH
Kurdish Calendar -
MALAYALAM
Malayalam Calendar -
MINGUO
Minguo (Republic of China) Calendar, still official in Taiwan -
MONGOLIAN
Mongolian Calendar -
NANAKSHAHI
Nanakshahi Calendar -
NEPALI
Nepali Calendar -
NEPAL_SAMBAT
NepalSambat Calendar -
REVISED_JULIAN
RevisedJulian Calendar -
ROMANIAN
Romanian Calendar -
RUMI
Rumi Calendar -
SAMARITAN
Samaritan Calendar -
SINHALA
Sinhala Calendar -
SOLAR_HIJRI
Solar Hijri (Persian, Jalali) Calendar -
TAMIL
Tamil Calendar -
THAI_LUNAR
ThaiLunar Calendar -
THAI_SOLAR
ThaiSolar Calendar -
TIBETAN
Tibetan Calendar -
VIKRAM_SAMVAT
Vikram Samvat (Bikram Sambat) Calendar -
XHOSA
Xhosa Calendar -
YORUBA
Yoruba Calendar -
ZOROASTRIAN
Zoroastrian Calendar
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getType
Gets the Type.- Specified by:
getTypein interfacenet.okapia.osid.torrefacto.collect.TypeEnum- Returns:
- the Type
-
getDefinitionClass
Gets theCalendarInfoclass (in calendaring/definitions) that implements this calendar, ornullif none is provided.- Returns:
- the definition class, or
null
-
isDeterministic
public boolean isDeterministic()Tests whether this calendar's rule is deterministic -- a complete, proleptic algorithm (pure arithmetic, a fixed offset from another such calendar, or a fixed astronomical algorithm) -- as opposed to one that depends on observation (such as a moon sighting), on sidereal positions, on a debated reconstruction, or on fiction.A deterministic calendar is a candidate for day-number conversion; whether a converter actually exists for it is a separate question answered by
DateTimeConverter, not here.- Returns:
trueif the calendar's rule is deterministic
-