Skip to main content
Version: 2.3.x

Enumeration: LeapYearRules

SimpleCalendar.api.LeapYearRules

The different rules used to determine when/if leap years happen

Enumeration Members

Custom

Custom = "custom"

Allows you to specify n interval in years for when a leap year happens


Gregorian

Gregorian = "gregorian"

The calendars leap year rules are like the standard calendar (Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these years are leap years if they are exactly divisible by 400)


None

None = "none"

The calendar contains no leap years