View as Markdown

API reference: @salmonui/scheduler

PlainDateinterface

import type { PlainDate } from '@salmonui/scheduler';
interface PlainDate extends PlainDateLike {
    toString(): string;
    toJSON(): string;
}

A frozen ISO calendar date. String(date) and JSON.stringify give YYYY-MM-DD.

PlainDate members (5, 3 inherited)
NameSignatureDescription
toStringtoString(): string;

Returns a string representation of an object.

toJSONtoJSON(): string;
yearinheritedyear: number;
monthinheritedmonth: number;
dayinheritedday: number;