Skip to main content
Version: 2.4.x

Interface: LeapYearData

SimpleCalendar.LeapYearData

Interface for all information about how leap years are set up

Hierarchy

  • IDataItemBase

    LeapYearData

Properties

abbreviation

Optional abbreviation: string

The abbreviated name of the data item.

Inherited from

IDataItemBase.abbreviation


customMod

customMod: number

The number of years that a leap year happens when the rule is set to 'custom'.


description

Optional description: string

The optional description of the data item

Inherited from

IDataItemBase.description


id

id: string

The unique ID of the data item

Inherited from

IDataItemBase.id


name

Optional name: string

The optional name of the data item

Inherited from

IDataItemBase.name


numericRepresentation

Optional numericRepresentation: number

The optional numeric representation of the data item

Inherited from

IDataItemBase.numericRepresentation


rule

rule: LeapYearRules

This is the leap year rule to follow.


showAdvanced

Optional showAdvanced: boolean

If to show the advanced options, this is not saved

Inherited from

IDataItemBase.showAdvanced


startingYear

startingYear: number

The year to start calculating leap years from.