View as Markdown

API reference: @salmonui/scheduler

PlainDateLikeinterface

import type { PlainDateLike } from '@salmonui/scheduler';
interface PlainDateLike {
    readonly year: number;
    readonly month: number;
    readonly day: number;
}

Anything with ISO calendar date fields (Temporal.PlainDate included). Month is 1-12.

PlainDateLike members (3)
NameSignatureDescription
yearreadonly year: number;
monthreadonly month: number;
dayreadonly day: number;