c0_temporal library

The shared, version-pinned C0 §1 temporal contract for the Dart family.

diene_core_utils OWNS this contract. Downstream Dart-family packages (config, problems, auth-engine, api-engine, e2e, interfaces) import THIS sub-library and drive their own C0 conformance from the single c0TemporalContract value, instead of each redefining temporal cases that would then drift apart:

import 'package:diene_core_utils/c0_temporal.dart';

for (final String valid in c0TemporalContract.dates.valid) {
  // assert your own date surface accepts it
}

The contract's provenance pins both the C0 source document and the official IANA release its timezone identifiers derive from, so a conformance proof never reads host IANA data or the host clock: timezone and instant vectors are injected from the contract itself.

Classes

C0Cases
Positive/negative string cases for one temporal domain.
C0InstantVector
A deterministic instant-normalization vector: input (any RFC 3339 form, including offsets) formats to canonicalUtc (RFC 3339 UTC Z). The instant is injected — no host clock is read.
C0TemporalContract
The version-pinned C0 temporal contract value.
C0TemporalProvenance
The single, version-pinned C0 §1 temporal contract for the Dart family.

Constants

c0TemporalContract → const C0TemporalContract
The shared C0 temporal contract consumed unchanged across the Dart family.