API Reference

TemporalNamespace

interface

Subset of the Temporal API surface consumed by the DatePicker.

Defined in package/src/types.ts:44

PropTypeDefaultDescription
Now*{ timeZoneId(): string; zonedDateTimeISO(tz: string): ZonedDateTime; plainDateISO(): PlainDate; }
PlainDate*{ from(item: any, options?: { overflow?: string; } | undefined): PlainDate; compare(a: PlainDate, b: PlainDate): number; }
PlainDateTime*{ from(item: any, options?: { overflow?: string; } | undefined): PlainDateTime; }
PlainMonthDay*{ from(item: any): Temporal.PlainMonthDay; }
PlainYearMonth*{ from(item: any): PlainYearMonth; }