summaryrefslogtreecommitdiff
path: root/sc/source/core/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-11-30 16:52:56 +0100
committerEike Rathke <erack@redhat.com>2011-11-30 16:53:17 +0100
commit445ae496f9a3b8abf8427e8ffe82d85cdaecd384 (patch)
tree90bcf17e9a55401cae76726274f846a2fab35920 /sc/source/core/inc
parentab988b37908a0b8ee62869bd637bf176b03ac3ac (diff)
sort out Gregorian cut-off date as side effect of validity
Diffstat (limited to 'sc/source/core/inc')
-rw-r--r--sc/source/core/inc/interpre.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx
index 111f74ffb8a5..586a4ddb18e4 100644
--- a/sc/source/core/inc/interpre.hxx
+++ b/sc/source/core/inc/interpre.hxx
@@ -551,8 +551,12 @@ void ScTTT();
1999-03-03.
If TRUE, the date passed must be a valid Gregorian calendar date. No
two-digit expanding or rollover is done.
+
+ @param bCheckGregorian
+ If TRUE, date must be Gregorian, i.e. >= 1582-10-15.
+ If FALSE, don't care, any valid date >= 0-1-1 will do.
*/
-double GetDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, bool bStrict );
+double GetDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, bool bStrict, bool bCheckGregorian );
void ScGetActDate();
void ScGetActTime();