]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/cdattst.h
1 /********************************************************************
3 * Copyright (c) 1997-2001, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
6 /********************************************************************************
10 * Modification History:
12 * Madhu Katragadda Creation
13 *********************************************************************************
15 /* C API TEST FOR DATE FORMAT */
19 #include "unicode/utypes.h"
21 #if !UCONFIG_NO_FORMATTING
26 * The function used to test the Date format API
28 static void TestDateFormat(void);
31 * The function used to test API udat_getSymbols(), udat_setSymbols() and udat_countSymbols()
33 static void TestSymbols(void);
36 * Test DateFormat(Calendar) API
38 static void TestDateFormatCalendar(void);
41 * test subroutines used by TestSymbols
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);
48 * test subroutine used by the testing functions
50 static UChar
* myNumformat(const UNumberFormat
* numfor
, double d
);
52 #endif /* #if !UCONFIG_NO_FORMATTING */