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

KDECore

  • KTimeZone
  • LeapSeconds
Public Member Functions | List of all members
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 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:
  • ktimezone.h
  • ktimezone.cpp
This file is part of the KDE documentation.
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.

KDECore

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • 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

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal