pub fn contains(a: Interval, b: Interval) -> Bool
pub fn from_start_and_duration(
start: Time,
duration: Duration,
) -> Result(Interval, Nil)
pub fn from_start_and_end(
start: Time,
end: Time,
) -> Result(Interval, Nil)
pub fn get_bounds(interval: Interval) -> #(Time, Time)
pub fn includes(interval: Interval, time: Time) -> Bool
pub fn intersection(a: Interval, b: Interval) -> Option(Interval)
pub fn scale_down(interval: Interval, factor: Int) -> Interval
pub fn scale_up(interval: Interval, factor: Int) -> Interval
pub fn shift(interval: Interval, duration: Duration) -> Interval