]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/cintltst/cdtdptst.h
ICU-64252.0.1.tar.gz
[apple/icu.git] / icuSources / test / cintltst / cdtdptst.h
CommitLineData
f3c0d7a5
A
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
b75a7d8f
A
3/********************************************************************
4 * COPYRIGHT:
57a6839d 5 * Copyright (c) 1997-2014, International Business Machines Corporation and
b75a7d8f
A
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"
f3c0d7a5 22#include "unicode/udat.h"
b75a7d8f
A
23
24#if !UCONFIG_NO_FORMATTING
25
26#include "cintltst.h"
27
28/**
29 * Test the parsing of 2-digit years.
30 */
31void 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 */
37void TestPartialParse994(void);
38/**
39 * Verify the behavior of patterns in which digits for different fields run together
40 * without intervening separators.
41 */
42void 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 */
48void TestCzechMonths459(void);
49
50/**
51 * Test the handling of single quotes in patterns.
52 */
53void TestQuotePattern161(void);
54
55/*Internal functions used*/
56void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
57
57a6839d
A
58/*
59 * Testing udat_getBooleanAttribute and unum_setBooleanAttribute()
60 */
61void TestBooleanAttributes(void);
62
b75a7d8f
A
63#endif /* #if !UCONFIG_NO_FORMATTING */
64
65#endif