コンストラクター
constructor
- new Calendar(firstWeekDay?): Calendar
パラメーター
firstWeekDay: WEEKDAYS = WEEKDAYS.SUNDAY
アクセサー
firstWeekDay
- get firstWeekDay(): number
返却 number
- set firstWeekDay(value): void
パラメーター
返却 void
メソッド
formatToParts
- formatToParts(date, locale, options, parts): {
date: Date;
full: string;
} パラメーター
date: Date
locale: string
options: any
parts: string[]
返却 {
date: Date;
full: string;
}
getDateByView
- getDateByView(date, interval, activeViewIdx): Date
パラメーター
date: Date
interval: string
activeViewIdx: number
返却 Date
getFirstViewDate
- getFirstViewDate(date, interval, activeViewIdx): Date
パラメーター
date: Date
interval: string
activeViewIdx: number
返却 Date
getNextMonth
- getNextMonth(date): Date
パラメーター
返却 Date
getNextYear
- getNextYear(date): Date
パラメーター
返却 Date
getPrevMonth
- getPrevMonth(date): Date
パラメーター
返却 Date
getPrevYear
- getPrevYear(date): Date
パラメーター
返却 Date
getWeekNumber
- getWeekNumber(date, weekStart): any
パラメーター
date: Date
weekStart: number
返却 any
monthdates
- monthdates(year, month, extraWeek?): ICalendarDate[]
パラメーター
year: number
month: number
extraWeek: boolean = false
monthdatescalendar
- monthdatescalendar(year, month, extraWeek?): ICalendarDate[][]
パラメーター
year: number
month: number
extraWeek: boolean = false
timedelta
- timedelta(date, interval, units): Date
パラメーター
date: Date
interval: string
units: number
返却 Date
weekdays
- weekdays(): number[]
返却 number[]
1 か月の日付値を返します。 常に完全な週で繰り返すため、指定した月以外の日付を含みます。