diff options
Diffstat (limited to 'Build/source/libs/icu/icu-xetex/test/cintltst/cdtdptst.h')
-rw-r--r-- | Build/source/libs/icu/icu-xetex/test/cintltst/cdtdptst.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-xetex/test/cintltst/cdtdptst.h b/Build/source/libs/icu/icu-xetex/test/cintltst/cdtdptst.h new file mode 100644 index 00000000000..11fd9e5faaa --- /dev/null +++ b/Build/source/libs/icu/icu-xetex/test/cintltst/cdtdptst.h @@ -0,0 +1,57 @@ +/******************************************************************** + * COPYRIGHT: + * Copyright (c) 1997-2001, International Business Machines Corporation and + * others. All Rights Reserved. + ********************************************************************/ +/******************************************************************************** +* +* File CDTDPTST.H +* +* Modification History: +* Name Description +* Madhu Katragadda Creation +********************************************************************************* +*/ +/* INDEPTH TEST FOR DATE FORMAT */ +#ifndef _CDTFRRGSTST +#define _CDTFRRGSTST + +#include "unicode/utypes.h" + +#if !UCONFIG_NO_FORMATTING + +#include "cintltst.h" + +/** + * Test the parsing of 2-digit years. + */ +void TestTwoDigitYearDSTParse(void); +/** + * Verify that strings which contain incomplete specifications are parsed + * correctly. In some instances, this means not being parsed at all, and + * returning an appropriate error. + */ +void TestPartialParse994(void); +/** + * Verify the behavior of patterns in which digits for different fields run together + * without intervening separators. + */ +void TestRunTogetherPattern985(void); + +/** + * Verify the handling of Czech June and July, which have the unique attribute that + * one is a proper prefix substring of the other. + */ +void TestCzechMonths459(void); + +/** + * Test the handling of single quotes in patterns. + */ +void TestQuotePattern161(void); + +/*Internal functions used*/ +void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected); + +#endif /* #if !UCONFIG_NO_FORMATTING */ + +#endif |