Skip to main content

Period

Type Alias Period 

Source
pub type Period<S> = Interval<Time<S>>;
Expand description

Time-scale period alias.

This follows the same marker pattern as Time<S>, so callers can write: Period<MJD>, Period<JD>, etc.

Aliased Type§

pub struct Period<S> {
    pub start: Time<S>,
    pub end: Time<S>,
}

Fields§

§start: Time<S>§end: Time<S>