#include <cel_time.h>
Public Member Functions | |
| ssize_t | span () const |
| bool | intersectsWith (const Time &t) const |
| bool | intersectsWith (const TimeSpan &ts) const |
| void | serialize (Stream *inStream, size_t inLevel, Endian inEndian) const |
| void | deserialize (Stream *inStream, size_t inLevel, Endian inEndian) |
Definition at line 420 of file cel_time.h.
| ssize_t Celartem::TimeSpan::span | ( | ) | const [inline] |
This method calculates the time long in seconds between "from" and "to".
Definition at line 431 of file cel_time.h.
| bool Celartem::TimeSpan::intersectsWith | ( | const Time & | t | ) | const [inline] |
This methods checks whether the specified time is in this TimeSpan or not.
| t | A Time value. |
true if the time is in this TimeSpan, otherwise false . Definition at line 442 of file cel_time.h.
| bool Celartem::TimeSpan::intersectsWith | ( | const TimeSpan & | ts | ) | const [inline] |
This method is just a helper function to deal with SerializableData template. For more information, see SerializableData.
This method is just a helper function to deal with SerializableData template. For more information, see SerializableData.