libtime++: Date and time calculation
|
Go to the source code of this file.
Classes | |
class | libtime::TBaseClassTime |
class | libtime::TAbsoluteTime |
class to contain absolute times More... | |
class | libtime::TRelativeTime |
class to contain relative times More... | |
class | libtime::Days |
provide a convenient way to specify time intervals in the order of one day More... | |
class | libtime::Hours |
provide a convenient way to specify time intervals in the order of one hour More... | |
class | libtime::Minutes |
provide a convenient way to specify time intervals in the order of one minute More... | |
class | libtime::Seconds |
provide a convenient way to specify time intervals in the order of one second More... | |
class | libtime::Milliseconds |
provide a convenient way to specify time intervals in the order of one millisecond More... | |
class | libtime::Microseconds |
provide a convenient way to specify time intervals in the order of one microsecond More... | |
class | libtime::TRange |
time range More... | |
struct | libtime::Warning |
class | libtime::Exception |
Namespaces | |
libtime | |
Macros | |
#define | TF_LIBTIME_H_ "version V1.16" |
#define | libtime_Xassert(C, M, E) if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); } |
Check an assertion and report by throwing an exception. More... | |
#define | libtime_assert(C, M) libtime_Xassert( C , M , libtime::Exception ) |
Check an assertion and report by throwing an exception. More... | |
#define | libtime_abort(M) throw( libtime::Exception ( M , __FILE__, __LINE__ )) |
Abort and give a message. More... | |
Functions | |
TRelativeTime | libtime::operator* (const time_kernel::timeint &n, const TRelativeTime &A) |
TRelativeTime | libtime::operator* (const timeint &n, const TRelativeTime &A) |
TAbsoluteTime | libtime::now () |
return system time More... | |
TAbsoluteTime | libtime::utc () |
return system time in UTC More... | |
double | libtime::time2double (const TRelativeTime &) |
convert relative time to seconds More... | |
TRelativeTime | libtime::double2time (const double &seconds) |
convert seconds to relative time More... | |
void | libtime::dump (std::ostream &os, const TBaseClassTime &t) |
dump internal representation of time (for debugging purposes) More... | |