Exact civil epoch label backed by the core epoch representation.
Civil seconds are interpreted by their shortest decimal spelling. Use
Sidereon.GNSS.Time.ExactEpochQuery.from_binary_j2000_seconds/1 when an
existing floating-point value denotes a binary query offset instead.
Summary
Functions
Add seconds interpreted as their shortest decimal representation.
Subtract seconds interpreted as their shortest decimal representation.
Construct an exact epoch from whole seconds and attoseconds since J2000.
Types
@type t() :: %Sidereon.GNSS.Time.ExactEpoch{ attoseconds: non_neg_integer(), handle: reference(), j2000_seconds: float(), sub_attosecond: {integer(), non_neg_integer()}, whole_seconds: integer() }
Functions
@spec attoseconds_per_second() :: 1_000_000_000_000_000_000
Add seconds interpreted as their shortest decimal representation.
Subtract seconds interpreted as their shortest decimal representation.
@spec j2000() :: t()
@spec new(integer(), non_neg_integer()) :: {:ok, t()} | {:error, term()}
Construct an exact epoch from whole seconds and attoseconds since J2000.
@spec query(t()) :: Sidereon.GNSS.Time.ExactEpochQuery.t()