|
libtime++: Date and time calculation
|
time range More...
#include <libtime++.h>

Public Member Functions | |
| TRange () | |
| TRange (const TAbsoluteTime &begin, const TAbsoluteTime &end) | |
| TAbsoluteTime | begin () const |
| TAbsoluteTime | end () const |
| TRelativeTime | size () const |
| bool | includes (const TAbsoluteTime &) const |
| true if date is within range More... | |
| bool | includes (const TRange &) const |
| true if range is fully included in this range More... | |
| bool | overlaps (const TRange &) const |
| true if other range overlaps this one More... | |
| TRange | largestcommon (const TRange &) const |
| find largest range spanned by both More... | |
| TRange | smallestcommon (const TRange &) const |
| find largest range common to both More... | |
| TRange & | delay (const TRelativeTime &) |
| delay this range by dt More... | |
| TRange & | advance (const TRelativeTime &) |
| advance this range by dt More... | |
| TRange | delayedby (const TRelativeTime &) const |
| return a range delayed by dt More... | |
| TRange | advancedby (const TRelativeTime &) const |
| return a range advanced by dt More... | |
| void | expand (const TRange &) |
| set to largest range spanned by both More... | |
| void | shrink (const TRange &) |
| set to smallest range common to both More... | |
Private Attributes | |
| TAbsoluteTime | Mbegin |
| TAbsoluteTime | Mend |
time range
Definition at line 612 of file libtime++.h.