UNPKG

rrule

Version:

JavaScript library for working with recurrence rules for calendar dates.

11 lines (10 loc) 333 B
export declare type WeekdayStr = 'MO' | 'TU' | 'WE' | 'TH' | 'FR' | 'SA' | 'SU'; export declare class Weekday { readonly weekday: number; readonly n?: number; constructor(weekday: number, n?: number); nth(n: number): Weekday; equals(other: Weekday): boolean; toString(): string; getJsWeekday(): number; }