UNPKG

adwaveui

Version:

Interactive Web Components inspired by the Gtk Adwaita theme.

35 lines (34 loc) 983 B
export declare class Dt { private _date; static isParsable(date: string): boolean; static parse(date: string): Dt; private _locale; constructor(_date?: Date, locale?: string); setLocale(l: string): this; setYear(y: number): this; setMonth(m: number): this; startOfMonth(): this; endOfMonth(): this; setHour(h: number, m: number, sec: number): this; setDay(d: number): this; plus(amounts: { days?: number; }): this; minus(amounts: { days?: number; }): this; year(): number; month(): number; monthString(): string; dayOfMonth(type?: "padded"): string; dayOfWeek(): number; dayOfWeekString(format?: "long" | "short" | "narrow"): string; countDaysOfThisMonth(): number; localeString(dateStyle?: "full" | "long" | "medium" | "short"): string; iso(): string; isoDate(): string; jsDate(): Date; unix(): number; clone(): Dt; isSameDate(d: Dt): boolean; }