KonsoleKalendar
KonsoleKalendarEpoch Class Reference
#include <konsolekalendarepoch.h>
Public Member Functions | |
KonsoleKalendarEpoch () | |
~KonsoleKalendarEpoch () | |
Static Public Member Functions | |
static QDateTime | epoch2QDateTime (uint epoch) |
static uint | QDateTime2epoch (const QDateTime &dt) |
Detailed Description
Class for timestamps expressed as epochs.
Definition at line 43 of file konsolekalendarepoch.h.
Constructor & Destructor Documentation
KonsoleKalendarEpoch::KonsoleKalendarEpoch | ( | ) |
Constructor.
Definition at line 41 of file konsolekalendarepoch.cpp.
KonsoleKalendarEpoch::~KonsoleKalendarEpoch | ( | ) |
Destructor.
Definition at line 45 of file konsolekalendarepoch.cpp.
Member Function Documentation
|
static |
Converts epoch time to QDateTime format.
- Parameters
-
epoch epoch time.
Definition at line 52 of file konsolekalendarepoch.cpp.
|
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.