]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/cintltst/cdattst.h
ICU-8.11.tar.gz
[apple/icu.git] / icuSources / test / cintltst / cdattst.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
3 * Copyright (c) 1997-2001, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6/********************************************************************************
7*
8* File CDATTST.H
9*
10* Modification History:
11* Name Description
12* Madhu Katragadda Creation
13*********************************************************************************
14*/
15/* C API TEST FOR DATE FORMAT */
16#ifndef _CDATFRMTST
17#define _CDATFRMTST
18
19#include "unicode/utypes.h"
20
21#if !UCONFIG_NO_FORMATTING
22
23#include "cintltst.h"
24
25 /**
26 * The function used to test the Date format API
27 **/
28 static void TestDateFormat(void);
29
30 /**
31 * The function used to test API udat_getSymbols(), udat_setSymbols() and udat_countSymbols()
32 **/
33 static void TestSymbols(void);
34
35 /**
36 * Test DateFormat(Calendar) API
37 */
38 static void TestDateFormatCalendar(void);
39
40 /**
41 * test subroutines used by TestSymbols
42 **/
43 static void VerifygetSymbols(UDateFormat*, UDateFormatSymbolType, int32_t, const char*);
44 static void VerifysetSymbols(UDateFormat*, UDateFormatSymbolType, int32_t, const char*);
45 static void VerifygetsetSymbols(UDateFormat*, UDateFormat*, UDateFormatSymbolType, int32_t);
46
47 /**
48 * test subroutine used by the testing functions
49 **/
50 static UChar* myNumformat(const UNumberFormat* numfor, double d);
51
52#endif /* #if !UCONFIG_NO_FORMATTING */
53
54#endif