Modifier and Type | Field and Description |
---|---|
protected LetoPeriodType[] |
TYPES |
Constructor and Description |
---|
LetoJulian() |
Modifier and Type | Method and Description |
---|---|
LetoPeriodType[] |
getCalendarPeriodTypes()
All inheriting classes should define the supported calendar period types.
|
protected LocaleStringId |
getDescriptionTranslationIndex() |
protected LocaleStringId |
getNameTranslationIndex() |
long |
getStartOfCalendarBeforeUnixEpoch()
Get the start of the calendar before unix epoch in days.
|
static java.lang.String |
getStructureName(LetoPeriodStructure type) |
static java.lang.String |
getTypeName(LetoPeriodType type) |
static void |
main(java.lang.String[] argv) |
long |
startOfCalendarInDaysBeforeJavaEpoch()
All inheriting classes should define the beginning of their calendar in days before the java EPOCH.
|
static void |
testPeriod(LetoPeriodStructureBean structure) |
calculateCalendarPeriods, calculateDaysFromPeriods, calculateDaysFronStartOfCalendar, checkCorrectness, getDescription, getDescription, getDescriptionTranslations, getName, getName, getNameTranslations, getToday, toJson, toMap
protected LetoPeriodType[] TYPES
public long startOfCalendarInDaysBeforeJavaEpoch()
startOfCalendarInDaysBeforeJavaEpoch
in class LetoBase
public LetoPeriodType[] getCalendarPeriodTypes()
LetoBase
getCalendarPeriodTypes
in interface Leto
getCalendarPeriodTypes
in class LetoBase
public static java.lang.String getStructureName(LetoPeriodStructure type)
public static java.lang.String getTypeName(LetoPeriodType type)
public static void testPeriod(LetoPeriodStructureBean structure)
public static void main(java.lang.String[] argv) throws java.lang.Throwable
java.lang.Throwable
protected LocaleStringId getNameTranslationIndex()
getNameTranslationIndex
in class LetoBase
protected LocaleStringId getDescriptionTranslationIndex()
getDescriptionTranslationIndex
in class LetoBase
public long getStartOfCalendarBeforeUnixEpoch()
Leto