|
paludis
Version 1.4.0
|
#include <timestamp.hh>
Inheritance diagram for paludis::Timestamp:Public Member Functions | |
| Timestamp (const struct timespec &) | |
| Timestamp (const time_t, const long) | |
| Timestamp (const Timestamp &) | |
| Timestamp & | operator= (const Timestamp &) |
| bool | operator== (const Timestamp &) const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| bool | operator< (const Timestamp &) const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| time_t | seconds () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| long | nanoseconds () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| struct timespec | as_timespec () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
| struct timeval | as_timeval () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Static Public Member Functions | |
| static Timestamp | now () PALUDIS_ATTRIBUTE((warn_unused_result)) |
Wrapper class to simplify dealing with the zillion different ways C has of dealing with timestamps.
Most definitely not for use for durations (that is, the difference between two date-times).
1.8.3.1