Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Weekday

class Weekday {
constructor(weekday: number, n?: number);
readonly n?: number;
readonly weekday: number;
 
equals(other: Weekday): boolean;
getJsWeekday(): number;
nth(n: number): Weekday;
toString(): string;
 
static fromStr(str: WeekdayStr): Weekday;
}

§Constructors

§
new Weekday(weekday: number, n?: number)
[src]

§Properties

§
n: number
[src]
§
weekday: number
[src]

§Methods

§
equals(other: Weekday): boolean
[src]
§
getJsWeekday(): number
[src]
§
nth(n: number): Weekday
[src]
§
toString(): string
[src]

§Static Methods

§
fromStr(str: WeekdayStr): Weekday
[src]