Class Calendar

Hierarchy

Hierarchy

  • Calendar

Constructors

Accessors

Methods

  • Parameters

    • date: Date
    • locale: string
    • options: any
    • parts: string[]

    Returns {
        date: Date;
        full: string;
    }

    • date: Date
    • full: string
  • Returns an array of weekdays for one week starting with the currently set firstWeekDay

    this.firstWeekDay = 0 (Sunday) --> [0, 1, 2, 3, 4, 5, 6] this.firstWeekDay = 1 (Monday) --> [1, 2, 3, 4, 5, 6, 0]

    Returns

    Memberof

    Calendar

    Returns number[]