Skip to content

Tempo Domain Glossary ​

Canonical definitions for Temporal math, formatting tokens, reactive signals, core architecture, and formal standards used across tempo-kit and its plugins.

C

# Cadence

Reactivity & Signals

The rhythmic scheduling interval or pattern governing ticker executions and reactive signal updates.

Cadence can be fixed-interval (e.g. every 5 seconds via Ticker), cron/RRule-driven, or event-driven at unit-bucket boundaries via @tempo-kit/plugin-signals.

# Clock Drift

Plugins & Extensions

The gradual offset between local system time and true reference network time, compensated by the NTP plugin.

D

# Dialect

Plugins & Extensions

An external date/time format token grammar (such as LDML, Moment, POSIX strftime, or Oracle TO_CHAR) bridged by @tempo-kit/plugin-dialects.

# Dynamic Functional Context (DFC)

Core Architecture

Tempo's pattern where configuration options (such as timeZone, locale, or calendar) accept lazy evaluator functions (() => T) resolved per request.

Aliases:DFC, Evaluable

E

# Enum

Core Architecture

A Proxy-wrapped, null-prototype lookup dictionary built with Enum.from() or Enum.extend() that supports static reflection without prototype pollution.

# Epoch

Temporal Math

Elapsed time since the Unix epoch (1970-01-01T00:00:00Z), exposed by Tempo as .epoch.ms (number) and .epoch.ns (bigint).

I

# Interval

Temporal Math

A half-open [start, end) span (inclusive start, exclusive end) between two temporal points supporting containment, overlap, union, and reactive state observation.

# ISO 8601

Standards

The international standard for date, time, UTC offset, duration, and week-date string representations.

L

# Lazy Evaluation

Core Architecture

Deferring expensive derived computations (such as calendar decompositions, formatted caches, and DFC options) until first read and memoizing the result.

# Locale

Standards

A BCP 47 language tag (such as en-AU or fr-FR) governing month/weekday names, relative-time phrasing, numbering systems, and regional date parsing.

M

# Modifier

Formatting & Parsing

An orthogonal token extension (e.g., :compact, :hh, :ordinal, :roman, :zero) refining how a format token or term serializes or parses values.

N

# Namespace

Plugins & Extensions

A deeply frozen static or instance extension object mounted on Tempo via defineNamespace() or definePlugin() (e.g., Tempo.signals, t.geo).

O

# Offset

Temporal Math

A fixed numeric displacement from UTC (e.g., +10:00 or -05:00), distinct from an IANA time zone which carries historical and DST transition rules.

P

# Parse Planner

Core Architecture

Tempo's layout selection and scoring subsystem that matches ambiguous input strings against registered snippets, dialects, and regional date layouts.

# Pivot

Formatting & Parsing

The two-digit year century cutoff (default 75) controlling whether 2-digit years resolve to 19xx or 20xx during parsing.

# PlainDate

Temporal Math

A calendar date (year, month, day) without reference to a specific time of day, time zone, or geographical location.

R

# ReadonlySignal

Reactivity & Signals

A reactive accessor function adhering to the TC39 Signals proposal (Signify) that notifies subscribers of value and epoch changes.

# RFC 9557

Standards

The Internet Extended Date/Time Format (IXDTF) standard extending RFC 3339 with bracketed time zone and calendar annotations (e.g., [Australia/Sydney][u-ca=iso8601]).

S

# Sandbox

Core Architecture

An isolated Tempo subclass created via Tempo.extend() with its own configuration and plugin isolation for multi-tenant SSR or testing (term access uses the shared runtime term map, so tenants registering different terms under the same key can conflict).

# Snippet

Formatting & Parsing

A named regular-expression fragment registered in the parsing engine to match recurring sub-patterns (such as dates, times, or ordinals).

# Soft Freeze

Core Architecture

Tempo's immutability strategy that provides non-destructive mutations without incurring the heavy V8 runtime cost of deep recursive Object.freeze().

T

# Term

Formatting & Parsing

A modular unit of temporal formatting, parsing, or range partitioning registered in the engine registry (e.g. #quarter, #season, #timeOfDay).

# Token

Formatting & Parsing

A bracketed lowercase format or parse placeholder inside a Tempo mask (e.g., {yyyy}, {mm}, {dd}, {hh}, {mi}, {ss}, {tz}).

Z

# ZonedDateTime

Temporal Math

A time-zone-aware, calendar-aware date and time combining an exact Instant, an IANA time zone, and a calendar system; Tempo's underlying Temporal representation.

Released under the MIT License.