pub fn parse_epoch(text: &str) -> Result<OmmEpoch, OmmError>Expand description
Parse a single CCSDS EPOCH string field to the canonical OmmEpoch.
The accepted form is YYYY-MM-DDThh:mm:ss[.f...][Z] with up to 15
fractional-second digits (whole microseconds plus a femtosecond remainder),
interpreted under the UTC-like civil-second policy (the OMM default when no
TIME_SYSTEM is declared, matching how a CelesTrak GP EPOCH is read).
This is the single public entry point a thin binding (for example the
Elixir constellation NIF) delegates to instead of hand-rolling the split;
it wraps the same shared NdmEpoch parser the full OMM decode uses, so it
produces byte-identical components.