KDECore
KTimeZone::LeapSeconds Class Reference
#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 555 of file ktimezone.h.
Constructor & Destructor Documentation
| KTimeZone::LeapSeconds::LeapSeconds | ( | ) |
Definition at line 929 of file ktimezone.cpp.
| KTimeZone::LeapSeconds::LeapSeconds | ( | const QDateTime & | utcTime, |
| int | leapSeconds, | ||
| const QString & | comment = QString() |
||
| ) |
Definition at line 934 of file ktimezone.cpp.
| KTimeZone::LeapSeconds::LeapSeconds | ( | const LeapSeconds & | c | ) |
Definition at line 945 of file ktimezone.cpp.
| KTimeZone::LeapSeconds::~LeapSeconds | ( | ) |
Definition at line 953 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 986 of file ktimezone.cpp.
| QDateTime KTimeZone::LeapSeconds::dateTime | ( | ) | const |
Return the UTC date/time when this change occurred.
- Returns:
- date/time
Definition at line 971 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 976 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 981 of file ktimezone.cpp.
| bool KTimeZone::LeapSeconds::operator< | ( | const LeapSeconds & | c | ) | const |
Definition at line 966 of file ktimezone.cpp.
| KTimeZone::LeapSeconds & KTimeZone::LeapSeconds::operator= | ( | const LeapSeconds & | c | ) |
Definition at line 958 of file ktimezone.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference