Skip to main content

Module representation

Module representation 

Source
Expand description

Typed encoded representations of crate::Time.

Structs§

EncodedTime
A typed external representation of a Time<S> instant.
GPS
GPS seconds since the GPS epoch on the TAI/GPS continuous axis.
J2000s
J2000 seconds on the source scale’s coordinate axis.
JD
Julian Day on the source scale’s coordinate axis.
MJD
Modified Julian Day on the source scale’s coordinate axis.
Unix
POSIX seconds on the UTC civil axis.

Traits§

InfallibleRepresentationForScale
Representation witness for scale S with context-free round-trips.
RepresentationForScale
Representation witness for scale S.
TimeRepresentation
Marker trait for external time encodings such as JD or Unix time.

Type Aliases§

GpsTime
EncodedTime<TAI, GPS> convenience alias.
J2000Seconds
EncodedTime<S, J2000s> convenience alias.
JulianDate
EncodedTime<S, JD> convenience alias.
ModifiedJulianDate
EncodedTime<S, MJD> convenience alias.
UnixTime
EncodedTime<UTC, Unix> convenience alias.