Hierarchy

Constructors

Properties

_year: number

Methods

  • Returns

    the JS Date object for the given year of this calendar

    Returns Date

  • This method returns true if the current year is a leap year

    Returns

    true if the YearCalendar instance is for a leap year

    Returns boolean

  • This method returns the MonthCalendar for the given month and the year of this instance.

    Returns

    the MonthCalendar for the given month and this YearCalendar

    Parameters

    • month: number

      a month between 0 and 11

    Returns MonthCalendar

  • This method returns the list of MonthCalendars for this year

    Returns

    the list, holding all MonthCalendars for this YearCalendar

    Returns MonthCalendar[]

  • Returns

    The year number of this calendar

    Returns number

  • This method returns all years between two given years as YearCalendar

    Returns

    all years between from and to as YearCalendar

    Parameters

    • from: number

      the begin year

    • to: number

      the end year

    Returns YearCalendar[]

Generated using TypeDoc