• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KDECore

  • KTimeZone
  • LeapSeconds
Public Member Functions

KTimeZone::LeapSeconds Class Reference

#include <ktimezone.h>

List of all members.

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:
  • ktimezone.h
  • ktimezone.cpp

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal