Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

opimtimezone.cpp File Reference

#include "opimtimezone.h"
#include <opie2/odebug.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>

Include dependency graph for opimtimezone.cpp:

Go to the source code of this file.

Namespaces

namespace  Opie

Functions

static QString setTimeZone (const QString &zone)
static void resetTimeZone (const QString &zone)
static QDateTime utcTime (time_t t)
static QDateTime utcTime (time_t t, const QString &zone)
static time_t to_Time_t (const QDateTime &utc, const QString &str)


Function Documentation

static void Opie::resetTimeZone const QString zone  )  [static]
 

Definition at line 60 of file opimtimezone.cpp.

References QString::local8Bit(), and true.

Referenced by Opie::to_Time_t(), and Opie::utcTime().

static QString Opie::setTimeZone const QString zone  )  [static]
 

Definition at line 48 of file opimtimezone.cpp.

References QString::fromLocal8Bit(), QString::local8Bit(), and true.

Referenced by TimeTabWidget::saveSettings(), TimeTabWidget::slotTZChanged(), Opie::to_Time_t(), and Opie::utcTime().

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

Definition at line 94 of file opimtimezone.cpp.

References d, QDateTime::date(), QDate::day(), QTime::hour(), QTime::minute(), QDate::month(), Opie::resetTimeZone(), QTime::second(), Opie::setTimeZone(), t, QDateTime::time(), and QDate::year().

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

static QDateTime Opie::utcTime time_t  t,
const QString zone
[static]
 

Definition at line 73 of file opimtimezone.cpp.

References Opie::resetTimeZone(), QDateTime::setDate(), QDateTime::setTime(), and Opie::setTimeZone().

static QDateTime Opie::utcTime time_t  t  )  [static]
 

Definition at line 64 of file opimtimezone.cpp.

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

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


Generated on Sat Nov 5 16:38:10 2005 for OPIE by  doxygen 1.4.2