public SimpleTimeInterval(ITimePoint timeCoordinate, IDuration duration) { TimePosition = timeCoordinate; TimeSpanValue = duration.AsTimeSpan(); }
/// <summary>True if <paramref name="me"/> has the exact same length in time as <paramref name="other"/></summary> public static bool HasDurationEqualTo(this IDuration me, IDuration other) { return(me.AsTimeSpan() == other.AsTimeSpan()); }