import { type PlainDateFactory } from "https://deno.land/x/complaindate@v0.7.2/mod.ts";
Describes a factory function that creates plain-date objects.
Specific implementations of the factory may provide additional methods that takes other kinds of arguments.
Type Parameters
T extends ComPlainDate
Call Signatures
(x: { year: number | string; month?: number | string; day?: number | string; }): T
Properties
optional
fromString: <T extends ComPlainDate>(this: PlainDateFactory<T>, s: string) => Toptional
fromUtcInstant: <T extends ComPlainDate>(this: PlainDateFactory<T>, instant?: Date) => Toptional
fromLocalInstant: <T extends ComPlainDate>(this: PlainDateFactory<T>, instant?: Date) => Toptional
fromInstant: <T extends ComPlainDate>() => T