Skip to main content

Module rfc3339

Module rfc3339 

Source
Expand description

Fail-closed RFC3339 profile used by contract: agent-wait/v0.

Accepted: extended date/time with seconds and Z/z or a colon-separated numeric offset. Leap seconds are rejected, not clamped. Equivalent offsets compare as the same instant. Fractional seconds are padded and truncated to six digits for comparison, matching the pinned Crucible oracle.

Construction and comparison go through Timestamp. The time crate is an implementation ingredient, not the public gate.

Structs§

Timestamp
Contract timestamp on the pinned RFC3339 profile.

Functions§

compare
Compare two timestamps after normalizing to UTC instants.
parse
Parse a fail-closed RFC3339 timestamp.