Skip to main content
Version: 2.1.x

Enumeration: MoonYearResetOptions

SimpleCalendar.api.MoonYearResetOptions

These options are used to tell Simple Calendar when to reset the year portion of the reference new moon.

Remarks

The reference new moon is any date a new moon occurred on in the calendar. This date is then used as a starting point to calculate the different phases of the moon. Any phase in any year can be calculated from this value, and it does not need to be updated after its initial setting.

Enumeration Members

LeapYear

LeapYear = "leap-year"

Reset the year of the reference new moon every year that is a leap year


None

None = "none"

Do not reset the year of the reference new moon


XYears

XYears = "x-years"

Reset the year of the reference new moon by every x number of years