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

KDECore

KTimeZone::Phase

KTimeZone::Phase Class Reference

#include <ktimezone.h>

List of all members.


Public Member Functions

QList< QByteArray > abbreviations () const
QString comment () const
bool isDst () const
bool operator!= (const Phase &rhs) const
Phase & operator= (const Phase &rhs)
bool operator== (const Phase &rhs) const
 Phase (const Phase &rhs)
 Phase (int utcOffset, const QList< QByteArray > &abbreviations, bool dst, const QString &comment=QString())
 Phase (int utcOffset, const QByteArray &abbreviations, bool dst, const QString &comment=QString())
 Phase ()
int utcOffset () const
 ~Phase ()

Detailed Description

Definition at line 428 of file ktimezone.h.


Constructor & Destructor Documentation

KTimeZone::Phase::Phase (  ) 

Definition at line 170 of file ktimezone.cpp.

KTimeZone::Phase::Phase ( int  utcOffset,
const QByteArray &  abbreviations,
bool  dst,
const QString &  comment = QString() 
)

Constructor.

Parameters:
utcOffset number of seconds to add to UTC to get local time in this phase
abbreviations time zone abbreviation for this phase. If translations exist, concatenate all abbreviations as null-terminated strings.
dst true if daylight savings time, false if standard time
comment optional comment

Definition at line 175 of file ktimezone.cpp.

KTimeZone::Phase::Phase ( int  utcOffset,
const QList< QByteArray > &  abbreviations,
bool  dst,
const QString &  comment = QString() 
)

Constructor.

Parameters:
utcOffset number of seconds to add to UTC to get local time in this phase
abbreviations time zone abbreviation for this phase, plus any translations
dst true if daylight savings time, false if standard time
comment optional comment

Definition at line 183 of file ktimezone.cpp.

KTimeZone::Phase::Phase ( const Phase &  rhs  ) 

Definition at line 196 of file ktimezone.cpp.

KTimeZone::Phase::~Phase (  ) 

Definition at line 201 of file ktimezone.cpp.


Member Function Documentation

QList< QByteArray > KTimeZone::Phase::abbreviations (  )  const

Return the time zone abbreviations which apply to this phase.

More than one abbreviation may be returned, to allow for possible translations.

Returns:
time zone abbreviations

Definition at line 221 of file ktimezone.cpp.

QString KTimeZone::Phase::comment (  )  const

Return the comment (if any) applying to this phase.

Returns:
comment

Definition at line 231 of file ktimezone.cpp.

bool KTimeZone::Phase::isDst (  )  const

Return whether daylight savings time applies during this phase.

Returns:
true if daylight savings are in operation, false otherwise

Definition at line 226 of file ktimezone.cpp.

bool KTimeZone::Phase::operator!= ( const Phase &  rhs  )  const [inline]

Definition at line 460 of file ktimezone.h.

KTimeZone::Phase & KTimeZone::Phase::operator= ( const Phase &  rhs  ) 

Definition at line 205 of file ktimezone.cpp.

bool KTimeZone::Phase::operator== ( const Phase &  rhs  )  const

Definition at line 211 of file ktimezone.cpp.

int KTimeZone::Phase::utcOffset (  )  const

Return the UTC offset in seconds during this phase.

The UTC offset is the number of seconds which you must add to UTC to get local time.

Returns:
offset in seconds to add to UTC

Definition at line 216 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
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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