Skip to main content
Version: Next

Interface: LeapYearData

Interface for all information about how leap years are set up

Extends​

  • IDataItemBase

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.