KDECore
#include <ktimezone.h>
Public Member Functions | |
LeapSeconds () | |
LeapSeconds (const QDateTime &utcTime, int leapSeconds, const QString &comment=QString()) | |
LeapSeconds (const LeapSeconds &c) | |
~LeapSeconds () | |
QString | comment () const |
QDateTime | dateTime () const |
bool | isValid () const |
int | leapSeconds () const |
bool | operator< (const LeapSeconds &c) const |
LeapSeconds & | operator= (const LeapSeconds &c) |
Detailed Description
Definition at line 560 of file ktimezone.h.
Constructor & Destructor Documentation
KTimeZone::LeapSeconds::LeapSeconds | ( | ) |
Definition at line 999 of file ktimezone.cpp.
KTimeZone::LeapSeconds::LeapSeconds | ( | const QDateTime & | utcTime, |
int | leapSeconds, | ||
const QString & | comment = QString() |
||
) |
Definition at line 1004 of file ktimezone.cpp.
KTimeZone::LeapSeconds::LeapSeconds | ( | const LeapSeconds & | c | ) |
Definition at line 1015 of file ktimezone.cpp.
KTimeZone::LeapSeconds::~LeapSeconds | ( | ) |
Definition at line 1023 of file ktimezone.cpp.
Member Function Documentation
QString KTimeZone::LeapSeconds::comment | ( | ) | const |
Return the comment (if any) applying to this change.
- Returns
- comment
Definition at line 1056 of file ktimezone.cpp.
QDateTime KTimeZone::LeapSeconds::dateTime | ( | ) | const |
Return the UTC date/time when this change occurred.
- Returns
- date/time
Definition at line 1041 of file ktimezone.cpp.
bool KTimeZone::LeapSeconds::isValid | ( | ) | const |
Return whether this instance holds valid data.
- Returns
- true if valid, false if invalid
Definition at line 1046 of file ktimezone.cpp.
int KTimeZone::LeapSeconds::leapSeconds | ( | ) | const |
Return the cumulative number of leap seconds to be added after this change occurs.
- Returns
- number of leap seconds
Definition at line 1051 of file ktimezone.cpp.
bool KTimeZone::LeapSeconds::operator< | ( | const LeapSeconds & | c | ) | const |
Definition at line 1036 of file ktimezone.cpp.
KTimeZone::LeapSeconds & KTimeZone::LeapSeconds::operator= | ( | const LeapSeconds & | c | ) |
Definition at line 1028 of file ktimezone.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:13 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.