libopie PIM API Documentation

otimezone.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include "otimezone.h"

Include dependency graph for otimezone.cpp:

Include dependency graph

Go to the source code of this file.

Functions

QDateTime utcTime (time_t t)
QDateTime utcTime (time_t t, const QString &zone)
time_t to_Time_t (const QDateTime &utc, const QString &str)


Function Documentation

QDateTime utcTime time_t  t  )  [static]
 

Definition at line 10 of file otimezone.cpp.

References QDateTime::setDate(), and QDateTime::setTime().

QDateTime utcTime time_t  t,
const QString zone
[static]
 

Definition at line 17 of file otimezone.cpp.

References QString::latin1(), QDateTime::setDate(), and QDateTime::setTime().

Referenced by OTimeZone::fromUTCDateTime(), and OTimeZone::toDateTime().

time_t to_Time_t const QDateTime utc,
const QString str
[static]
 

Definition at line 36 of file otimezone.cpp.

References QDateTime::date(), QDate::day(), QTime::hour(), QString::latin1(), QTime::minute(), QDate::month(), QTime::second(), QDateTime::time(), and QDate::year().

Referenced by OTimeZone::fromDateTime(), OTimeZone::fromUTCDateTime(), and OTimeZone::toDateTime().

KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:25:51 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001