Skip to main content

TimeDeltaInterval

Type Alias TimeDeltaInterval 

Source
pub type TimeDeltaInterval = Interval<TimeDelta>;
Expand description

An interval of TimeDelta values.

Aliased Type§

pub struct TimeDeltaInterval { /* private fields */ }

Implementations§

Source§

impl TimeDeltaInterval

Source

pub fn to_scale<T: TimeScale + Copy>(&self, scale: T) -> TimeInterval<T>

Converts this delta-based interval to a TimeInterval in the given time scale.