KDECore
KTimeZone::LeapSeconds Class Reference
#include <ktimezone.h>
Public Member Functions | |
QString | comment () const |
QDateTime | dateTime () const |
bool | isValid () const |
int | leapSeconds () const |
LeapSeconds (const LeapSeconds &c) | |
LeapSeconds (const QDateTime &utcTime, int leapSeconds, const QString &comment=QString()) | |
LeapSeconds () | |
bool | operator< (const LeapSeconds &c) const |
LeapSeconds & | operator= (const LeapSeconds &c) |
~LeapSeconds () |
Detailed Description
Definition at line 555 of file ktimezone.h.
Constructor & Destructor Documentation
KTimeZone::LeapSeconds::LeapSeconds | ( | ) |
Definition at line 925 of file ktimezone.cpp.
KTimeZone::LeapSeconds::LeapSeconds | ( | const QDateTime & | utcTime, | |
int | leapSeconds, | |||
const QString & | comment = QString() | |||
) |
Definition at line 930 of file ktimezone.cpp.
KTimeZone::LeapSeconds::LeapSeconds | ( | const LeapSeconds & | c | ) |
Definition at line 941 of file ktimezone.cpp.
KTimeZone::LeapSeconds::~LeapSeconds | ( | ) |
Definition at line 949 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 982 of file ktimezone.cpp.
QDateTime KTimeZone::LeapSeconds::dateTime | ( | ) | const |
Return the UTC date/time when this change occurred.
- Returns:
- date/time
Definition at line 967 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 972 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 977 of file ktimezone.cpp.
bool KTimeZone::LeapSeconds::operator< | ( | const LeapSeconds & | c | ) | const |
Definition at line 962 of file ktimezone.cpp.
KTimeZone::LeapSeconds & KTimeZone::LeapSeconds::operator= | ( | const LeapSeconds & | c | ) |
Definition at line 954 of file ktimezone.cpp.
The documentation for this class was generated from the following files: