diff options
-rw-r--r-- | sw/inc/flddat.hxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx index 3085e5d6ee23..6d6c81079da2 100644 --- a/sw/inc/flddat.hxx +++ b/sw/inc/flddat.hxx @@ -2,9 +2,9 @@ * * $RCSfile: flddat.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ + * last change: $Author: vg $ $Date: 2003-04-01 15:19:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,6 +68,8 @@ #include "fldbas.hxx" +class DateTime; + /*-------------------------------------------------------------------- Beschreibung: Formate --------------------------------------------------------------------*/ @@ -165,10 +167,10 @@ public: inline void SetOffset(long nMinutes) { nOffset = nMinutes; } inline long GetOffset() const { return nOffset; } - ULONG GetDate(BOOL bUseOffset = FALSE) const; - ULONG GetTime(BOOL bUseOffset = FALSE) const; - void SetDateTime(ULONG nDate, ULONG nTime); - static double GetDateTime(SwDoc* pDoc, ULONG nDate, ULONG nTime); + Date GetDate(BOOL bUseOffset = FALSE) const; + Time GetTime(BOOL bUseOffset = FALSE) const; + void SetDateTime(const DateTime& rDT); + static double GetDateTime(SwDoc* pDoc, const DateTime& rDT); virtual String Expand() const; virtual SwField* Copy() const; |