uf0.1.0

Type to search every page and heading. Page titles only, while the full index loads.

All pages

API reference

@uniflowed/temporal

Temporal, with uf's clock and a native-runtime calendar seam, for the Unified Toolchain for Flow.

0.1.02 documented exports, 10 without a doc commentpackages/temporal

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/temporal

variable

Temporal

export const Temporal: typeof implementation = implementation;

Temporal, with the clock uf injects. See @uniflowed/core/temporal.

function

withCalendar

export 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.

Without a doc comment

  • isLitebindingindex.js:55
  • DateTimeFormatOptionsfrom @uniflowed/core/temporal
  • Durationfrom @uniflowed/core/temporal
  • DurationLikefrom @uniflowed/core/temporal
  • Instantfrom @uniflowed/core/temporal
  • PlainDatefrom @uniflowed/core/temporal
  • PlainTimefrom @uniflowed/core/temporal
  • TemporalApifrom @uniflowed/core/temporal
  • TemporalNowfrom @uniflowed/core/temporal
  • ZonedDateTimefrom @uniflowed/core/temporal