KDECore
#include "kdatetime.h"
#include <config.h>
#include <config-date.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <QtCore/QDateTime>
#include <QtCore/QRegExp>
#include <QtCore/QStringList>
#include <QtCore/QSharedData>
#include <kglobal.h>
#include <klocale.h>
#include "kcalendarsystemqdate_p.h"
#include <ksystemtimezone.h>
#include <kdebug.h>
#include <windows.h>
Go to the source code of this file.
|
static QDate | checkDate (int year, int month, int day, Status &) |
|
template<int disp> |
static int | findString (const QString &string, const char array[][disp], int count, int &offset) |
|
static int | findString_internal (const QString &string, const char *ptr, int count, int &offset, int disp) |
|
static QDateTime | fromStr (const QString &string, const QString &format, int &utcOffset, QString &zoneName, QByteArray &zoneAbbrev, bool &dateOnly, Status &) |
|
static int | getAmPm (const QString &string, int &offset, KLocale *) |
|
static bool | getNumber (const QString &string, int &offset, int mindigits, int maxdigits, int minval, int maxval, int &result) |
|
static bool | getUTCOffset (const QString &string, int &offset, bool colon, int &result) |
|
static int | matchDay (const QString &string, int &offset, KCalendarSystem *) |
|
static int | matchMonth (const QString &string, int &offset, KCalendarSystem *) |
|
QDataStream & | operator<< (QDataStream &s, const KDateTime::Spec &spec) |
|
QDataStream & | operator<< (QDataStream &s, const KDateTime &dt) |
|
QDataStream & | operator>> (QDataStream &s, KDateTime::Spec &spec) |
|
QDataStream & | operator>> (QDataStream &s, KDateTime &kdt) |
|
QDate checkDate |
( |
int |
year, |
|
|
int |
month, |
|
|
int |
day, |
|
|
Status & |
status |
|
) |
| |
|
static |
template<int disp>
static int findString |
( |
const QString & |
string, |
|
|
const char |
array[][disp], |
|
|
int |
count, |
|
|
int & |
offset |
|
) |
| |
|
inlinestatic |
int findString_internal |
( |
const QString & |
string, |
|
|
const char * |
ptr, |
|
|
int |
count, |
|
|
int & |
offset, |
|
|
int |
disp |
|
) |
| |
|
static |
int getAmPm |
( |
const QString & |
string, |
|
|
int & |
offset, |
|
|
KLocale * |
locale |
|
) |
| |
|
static |
bool getNumber |
( |
const QString & |
string, |
|
|
int & |
offset, |
|
|
int |
mindigits, |
|
|
int |
maxdigits, |
|
|
int |
minval, |
|
|
int |
maxval, |
|
|
int & |
result |
|
) |
| |
|
static |
bool getUTCOffset |
( |
const QString & |
string, |
|
|
int & |
offset, |
|
|
bool |
colon, |
|
|
int & |
result |
|
) |
| |
|
static |
QDataStream& operator<< |
( |
QDataStream & |
out, |
|
|
const KDateTime::Spec & |
spec |
|
) |
| |
Write spec
to the datastream out
, in binary format.
Definition at line 248 of file kdatetime.cpp.
QDataStream& operator<< |
( |
QDataStream & |
out, |
|
|
const KDateTime & |
dateTime |
|
) |
| |
Write dateTime
to the datastream out
, in binary format.
Definition at line 2450 of file kdatetime.cpp.
QDataStream& operator>> |
( |
QDataStream & |
in, |
|
|
KDateTime & |
dateTime |
|
) |
| |
Initial value:= {
"Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday",
"Sunday"
}
Definition at line 57 of file kdatetime.cpp.
const char longMonth[][10] |
|
static |
Initial value:= {
"January", "February", "March",
"April", "May", "June",
"July", "August", "September",
"October", "November", "December"
}
Definition at line 67 of file kdatetime.cpp.
const int MIN_YEAR = -4712 |
|
static |
const int NO_NUMBER = 0x8000000 |
|
static |
Initial value:= {
"Mon", "Tue", "Wed",
"Thu", "Fri", "Sat",
"Sun"
}
Definition at line 52 of file kdatetime.cpp.
const char shortMonth[][4] |
|
static |
Initial value:= {
"Jan", "Feb", "Mar", "Apr",
"May", "Jun", "Jul", "Aug",
"Sep", "Oct", "Nov", "Dec"
}
Definition at line 62 of file kdatetime.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:09 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.