Diffstat (limited to 'libopie2/opiepim/core/oconversion.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/oconversion.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libopie2/opiepim/core/oconversion.h b/libopie2/opiepim/core/oconversion.h index 6540889..13367e1 100644 --- a/libopie2/opiepim/core/oconversion.h +++ b/libopie2/opiepim/core/oconversion.h | |||
@@ -25,3 +25,3 @@ | |||
25 | 25 | ||
26 | 26 | /* FIXME namespace? -zecke */ | |
27 | class OConversion | 27 | class OConversion |
@@ -32,2 +32,9 @@ public: | |||
32 | 32 | ||
33 | /** | ||
34 | * simple function to store DateTime as string and read from string | ||
35 | * no timezone changing is done | ||
36 | * DDMMYYYYHHMMSS is the simple format | ||
37 | */ | ||
38 | static QString dateTimeToString( const QDateTime& ); | ||
39 | static QDateTime dateTimeFromString( const QString& ); | ||
33 | }; | 40 | }; |