A definition of a month within a calendar year.

interface CalendarConfigMonth {
    abbreviation?: string;
    dayOffset?: number;
    days: number;
    intercalary?: boolean;
    leapDays?: number;
    name: string;
    ordinal: number;
    startingWeekday?: null | number;
}

Properties

abbreviation?: string

The abbreviated name of the month.

dayOffset?: number

The amount to offset day numbers for this month.

days: number

The number of days in the month.

intercalary?: boolean

If this month is an intercalary month.

leapDays?: number

The number of days in the month during a leap year. If not defined the value of days is used.

name: string

The full name of the month.

ordinal: number

The ordinal position of this month in the year.

startingWeekday?: null | number

The day of the week this month should always start on. If the value is null the month will start on the next weekday after the previous month