• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeabc
 

tdeabc

  • TDEABC
  • TimeZone
Public Member Functions | Friends | List of all members
TDEABC::TimeZone Class Reference

#include <timezone.h>

Public Member Functions

 TimeZone ()
 
 TimeZone (int offset)
 
void setOffset (int offset)
 
int offset () const
 
bool isValid () const
 
bool operator== (const TimeZone &) const
 
bool operator!= (const TimeZone &) const
 
TQString asString () const
 

Friends

KABC_EXPORT TQDataStream & operator<< (TQDataStream &, const TimeZone &)
 
KABC_EXPORT TQDataStream & operator>> (TQDataStream &, TimeZone &)
 

Detailed Description

Time zone information.

This class stores information about a time zone.

Definition at line 35 of file timezone.h.

Constructor & Destructor Documentation

◆ TimeZone() [1/2]

TimeZone::TimeZone ( )

Construct invalid time zone.

Definition at line 27 of file timezone.cpp.

◆ TimeZone() [2/2]

TimeZone::TimeZone ( int  offset)

Construct time zone.

Parameters
offsetOffset in minutes relative to UTC.

Definition at line 32 of file timezone.cpp.

Member Function Documentation

◆ asString()

TQString TimeZone::asString ( ) const

Return string representation of time zone offset.

Definition at line 69 of file timezone.cpp.

◆ isValid()

bool TimeZone::isValid ( ) const

Return, if this time zone object is valid.

Definition at line 48 of file timezone.cpp.

◆ offset()

int TimeZone::offset ( ) const

Return offset in minutes relative to UTC.

Definition at line 43 of file timezone.cpp.

◆ operator!=()

bool TimeZone::operator!= ( const TimeZone &  t) const

Definition at line 61 of file timezone.cpp.

◆ operator==()

bool TimeZone::operator== ( const TimeZone &  t) const

Definition at line 53 of file timezone.cpp.

◆ setOffset()

void TimeZone::setOffset ( int  offset)

Set time zone offset relative to UTC.

Parameters
offsetOffset in minutes.

Definition at line 37 of file timezone.cpp.


The documentation for this class was generated from the following files:
  • timezone.h
  • timezone.cpp

tdeabc

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

tdeabc

Skip menu "tdeabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeabc by doxygen 1.9.4
This website is maintained by Timothy Pearson.