variable
Temporal
export const Temporal: typeof implementation = implementation;Temporal, with the clock uf injects. See @uniflowed/core/temporal.
API reference
Temporal, with uf's clock and a native-runtime calendar seam, for the Unified Toolchain for Flow.
Written from the source by uf doc when this site was built: the signature and the comment above each export, grouped by the specifier a program imports it from.
@uniflowed/temporalvariable
Temporalexport const Temporal: typeof implementation = implementation;Temporal, with the clock uf injects. See @uniflowed/core/temporal.
function
withCalendarexport function withCalendar<T>(value: T, calendar: string): T { ... }Re-express a date in a non-ISO calendar.
The one binding here that the native runtime owns. It takes a calendar identifier — japanese, hebrew, islamic-umalqura — and there is no honest way to answer it from JavaScript without shipping the tables that define those calendars.
toLocaleString is not this, and is the thing most callers actually want: a ZonedDateTime formatted with { calendar: "japanese" } goes through Intl, which has the tables already, and prints a Japanese era without any of this. What is missing is *arithmetic* in another calendar — the next month in the Hebrew year — and that is what waits for the binary.