Enum Class AncientCalendarTypes
- All Implemented Interfaces:
Serializable, Comparable<AncientCalendarTypes>, Constable, net.okapia.osid.torrefacto.collect.TypeEnum
public enum AncientCalendarTypes
extends Enum<AncientCalendarTypes>
implements net.okapia.osid.torrefacto.collect.TypeEnum
An enumeration of very old Calendar Types.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionArmenian CalendarAssyrian CalendarAttic CalendarAztec CalendarBabylonian CalendarBoeotian CalendarBulgar CalendarByzantine CalendarColigny CalendarCretan CalendarDelphic CalendarEgyptian CalendarEnoch CalendarEpirotic CalendarEtruscan CalendarFlorentine CalendarFrenchRepublican CalendarGaelic CalendarGermanic CalendarInca CalendarLaconian CalendarLithuanian CalendarMacedonian CalendarMaya CalendarMaya Long Count, the continuous day tally from the 3114 BC epochPentecontad CalendarRapaNui CalendarRhodian CalendarRoman CalendarRunic CalendarSeleucid CalendarSicilian CalendarSoviet CalendarSumerian CalendarSwedish Calendar -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends CalendarInfo> Gets the CalendarInfo class (in calendaring/historical) that implements this calendar, ornullif none is provided.getType()Gets the Type.booleanTests whether this calendar's rule is deterministic -- a complete, proleptic algorithm.static AncientCalendarTypesReturns the enum constant of this class with the specified name.static AncientCalendarTypes[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARMENIAN
Armenian Calendar -
ASSYRIAN
Assyrian Calendar -
ATTIC
Attic Calendar -
AZTEC
Aztec Calendar -
BABYLONIAN
Babylonian Calendar -
BOEOTIAN
Boeotian Calendar -
BULGAR
Bulgar Calendar -
BYZANTINE
Byzantine Calendar -
COLIGNY
Coligny Calendar -
CRETAN
Cretan Calendar -
DELPHIC
Delphic Calendar -
EGYPTIAN
Egyptian Calendar -
EPIROTIC
Epirotic Calendar -
ENOCH
Enoch Calendar -
ETRUSCAN
Etruscan Calendar -
FLORENTINE
Florentine Calendar -
FRENCH_REPUBLICAN
FrenchRepublican Calendar -
GERMANIC
Germanic Calendar -
GAELIC
Gaelic Calendar -
INCA
Inca Calendar -
LACONIAN
Laconian Calendar -
LITHUANIAN
Lithuanian Calendar -
MACEDONIAN
Macedonian Calendar -
MAYA
Maya Calendar -
MAYA_LONG_COUNT
Maya Long Count, the continuous day tally from the 3114 BC epoch -
PENTECONTAD
Pentecontad Calendar -
RAPA_NUI
RapaNui Calendar -
RHODIAN
Rhodian Calendar -
ROMAN
Roman Calendar -
RUNIC
Runic Calendar -
SELEUCID
Seleucid Calendar -
SICILIAN
Sicilian Calendar -
SOVIET
Soviet Calendar -
SUMERIAN
Sumerian Calendar -
SWEDISH
Swedish 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 the CalendarInfo class (in calendaring/historical) 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. Most ancient calendars arefalse-- observational or reconstructed with gaps -- but the arithmetic ones (a fixed vague year, a Julian-based reckoning, or a continuous count) aretrue. A deterministic calendar is a candidate for day-number conversion; whether a converter exists is answered byDateTimeConverter.- Returns:
trueif the calendar's rule is deterministic
-