Skip to main content
Version: 2.0.x

Interface: MonthData

SimpleCalendar.MonthData

Interface for all information about a month

Hierarchy​

  • IDataItemBase

    ↳ MonthData

Properties​

abbreviation​

• abbreviation: string

The abbreviated name of the month.


id​

• id: string

The unique ID of the data item

Inherited from​

IDataItemBase.id


intercalary​

• intercalary: boolean

If this month is an intercalary month.


intercalaryInclude​

• intercalaryInclude: boolean

If this month is intercalary then if its days should be included in total day calculations.


name​

• name: string

The name of the month.

Overrides​

IDataItemBase.name


numberOfDays​

• numberOfDays: number

The number of days this month has during a non leap year.


numberOfLeapYearDays​

• numberOfLeapYearDays: number

The number of days this month has during a leap year.


numericRepresentation​

• numericRepresentation: number

The number associated with the display of this month.

Overrides​

IDataItemBase.numericRepresentation


numericRepresentationOffset​

• numericRepresentationOffset: number

The amount to offset day numbers by for this month.


startingWeekday​

• startingWeekday: null | number

The day of the week this month should always start on.