libtime++: Date and time calculation

◆ overlaps()

bool libtime::TRange::overlaps ( const TRange range) const

true if other range overlaps this one

Definition at line 62 of file ranges.cc.

References begin(), end(), Mbegin, and Mend.

Referenced by largestcommon(), shrink(), and smallestcommon().

63  {
64  return((range.end()>=Mbegin)&&(range.begin()<=Mend));
65  }
TAbsoluteTime Mend
Definition: libtime++.h:633
TAbsoluteTime Mbegin
Definition: libtime++.h:632
Here is the call graph for this function:
Here is the caller graph for this function: