diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-01 14:19:15 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-01 14:19:15 +0000 |
commit | 8e3a25867434a46d553a51b309268014a51afafa (patch) | |
tree | 15dfb51b9668d029d86f876820413e3edf3044ca /sw/inc/flddat.hxx | |
parent | 6bd67753eec2a128251385d97bf0bc3ce4c96bd2 (diff) |
INTEGRATION: CWS os6 (1.2.112); FILE MERGED
2003/03/11 13:22:41 sab 1.2.112.2: #107266# DateTime handling corrected
2003/03/07 15:58:52 os 1.2.112.1: #107266# DateTime handling corrected
Diffstat (limited to 'sw/inc/flddat.hxx')
-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; |