summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 09:46:23 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 09:46:23 +0000
commit70e9f33aa0766f08225c16e2afb23e0fdbe485fa (patch)
treecb4e0bde0a9d5fe88e7e6d7ab6c58a86eecf0beb /svtools
parent4d45bc863392cfc0467dcd6aad07a5ede6095a5f (diff)
INTEGRATION: CWS numforensis (1.9.724); FILE MERGED
2004/10/25 10:04:31 er 1.9.724.1: #i5328# recognize basic ISO 8601 date and date/time input
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/zforfind.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/svtools/inc/zforfind.hxx b/svtools/inc/zforfind.hxx
index b8c901c4619d..e16c9579305d 100644
--- a/svtools/inc/zforfind.hxx
+++ b/svtools/inc/zforfind.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: zforfind.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: er $ $Date: 2002-08-05 16:32:49 $
+ * last change: $Author: hr $ $Date: 2004-11-09 10:46:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -153,6 +153,8 @@ private:
// default 18
// number <= nYear2000 => 20xx
// number > nYear2000 => 19xx
+ USHORT nTimezonePos; // Index of timezone separator (+1)
+ BYTE nMayBeIso8601; // 0:=dontknowyet, 1:=yes, 2:=no
#ifdef _ZFORFIND_CXX // methods private to implementation
void Reset(); // Reset all variables before start of analysis
@@ -283,6 +285,10 @@ private:
const String& rString,
const SvNumberformat* pFormat = NULL );
+ // Whether input may be a ISO 8601 date format, yyyy-mm-dd...
+ // checks if at least 3 numbers and first number>31
+ bool MayBeIso8601();
+
// Compare rString to substring of array indexed by nString
// nString == 0xFFFF => last substring
BOOL ScanStringNumFor(