KonsoleKalendar
KonsoleKalendarEpoch Class Reference
#include <konsolekalendarepoch.h>
Detailed Description
Class for timestamps expressed as epochs.
Definition at line 43 of file konsolekalendarepoch.h.
Public Member Functions | |
| KonsoleKalendarEpoch () | |
| ~KonsoleKalendarEpoch () | |
Static Public Member Functions | |
| static QDateTime | epoch2QDateTime (uint epoch) |
| static uint | QDateTime2epoch (const QDateTime &dt) |
Constructor & Destructor Documentation
| KonsoleKalendarEpoch::KonsoleKalendarEpoch | ( | ) |
| KonsoleKalendarEpoch::~KonsoleKalendarEpoch | ( | ) |
Member Function Documentation
| QDateTime KonsoleKalendarEpoch::epoch2QDateTime | ( | uint | epoch | ) | [static] |
Converts epoch time to QDateTime format.
- Parameters:
-
epoch epoch time.
Definition at line 52 of file konsolekalendarepoch.cpp.
| uint KonsoleKalendarEpoch::QDateTime2epoch | ( | const QDateTime & | dt | ) | [static] |
Converts QT DateTime to epoch format.
- Parameters:
-
dt is a QDateTime to convert to an epoch.
Definition at line 60 of file konsolekalendarepoch.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference