Skip to main content
Version: 2.0.x

Interface: LeapYearData

SimpleCalendar.LeapYearData

Interface for all information about how leap years are set up

Hierarchy

  • IDataItemBase

    LeapYearData

Properties

customMod

customMod: number

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


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.