#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) |
This struct stores a time span that consists from "from" and "to".
This method is just a helper function to deal with SerializableData template. For more information, see SerializableData.
| bool Celartem::TimeSpan::intersectsWith | ( | const Time & | t | ) | const [inline] |
| 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.
| ssize_t Celartem::TimeSpan::span | ( | ) | const [inline] |
This method calculates the time long in seconds between "from" and "to".