]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/cdtdptst.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 1997-2014, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
8 /********************************************************************************
12 * Modification History:
14 * Madhu Katragadda Creation
15 *********************************************************************************
17 /* INDEPTH TEST FOR DATE FORMAT */
21 #include "unicode/utypes.h"
22 #include "unicode/udat.h"
24 #if !UCONFIG_NO_FORMATTING
29 * Test the parsing of 2-digit years.
31 void TestTwoDigitYearDSTParse(void);
33 * Verify that strings which contain incomplete specifications are parsed
34 * correctly. In some instances, this means not being parsed at all, and
35 * returning an appropriate error.
37 void TestPartialParse994(void);
39 * Verify the behavior of patterns in which digits for different fields run together
40 * without intervening separators.
42 void TestRunTogetherPattern985(void);
45 * Verify the handling of Czech June and July, which have the unique attribute that
46 * one is a proper prefix substring of the other.
48 void TestCzechMonths459(void);
51 * Test the handling of single quotes in patterns.
53 void TestQuotePattern161(void);
55 /*Internal functions used*/
56 void tryPat994(UDateFormat
* format
, const char* pat
, const char* s
, UDate expected
);
59 * Testing udat_getBooleanAttribute and unum_setBooleanAttribute()
61 void TestBooleanAttributes(void);
63 #endif /* #if !UCONFIG_NO_FORMATTING */