public bool IsLaterThan(DatePeriod another) { return(!DoesIntersectWith(another) && From > another.To); }
public bool DoesIntersectWith(DatePeriod another) { return((another.From >= From && another.From < To) || (another.To >= From && another.To < To)); }