]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/cdtdptst.h
ICU-66108.tar.gz
[apple/icu.git] / 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 /********************************************************************
4 * COPYRIGHT:
5 * Copyright (c) 1997-2014, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
8 /********************************************************************************
9 *
10 * File CDTDPTST.H
11 *
12 * Modification History:
13 * Name Description
14 * Madhu Katragadda Creation
15 *********************************************************************************
16 */
17 /* INDEPTH TEST FOR DATE FORMAT */
18 #ifndef _CDTFRRGSTST
19 #define _CDTFRRGSTST
20
21 #include "unicode/utypes.h"
22 #include "unicode/udat.h"
23
24 #if !UCONFIG_NO_FORMATTING
25
26 #include "cintltst.h"
27
28 /**
29 * Test the parsing of 2-digit years.
30 */
31 void TestTwoDigitYearDSTParse(void);
32 /**
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.
36 */
37 void TestPartialParse994(void);
38 /**
39 * Verify the behavior of patterns in which digits for different fields run together
40 * without intervening separators.
41 */
42 void TestRunTogetherPattern985(void);
43
44 /**
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.
47 */
48 void TestCzechMonths459(void);
49
50 /**
51 * Test the handling of single quotes in patterns.
52 */
53 void TestQuotePattern161(void);
54
55 /*Internal functions used*/
56 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
57
58 /*
59 * Testing udat_getBooleanAttribute and unum_setBooleanAttribute()
60 */
61 void TestBooleanAttributes(void);
62
63 #endif /* #if !UCONFIG_NO_FORMATTING */
64
65 #endif