-rw-r--r-- | libopie/pim/oconversion.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libopie/pim/oconversion.h b/libopie/pim/oconversion.h index 6540889..13367e1 100644 --- a/libopie/pim/oconversion.h +++ b/libopie/pim/oconversion.h @@ -25,3 +25,3 @@ - +/* FIXME namespace? -zecke */ class OConversion @@ -32,2 +32,9 @@ public: + /** + * simple function to store DateTime as string and read from string + * no timezone changing is done + * DDMMYYYYHHMMSS is the simple format + */ + static QString dateTimeToString( const QDateTime& ); + static QDateTime dateTimeFromString( const QString& ); }; |