]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/cintltst/cdattst.h
1 /********************************************************************
3 * Copyright (c) 1997-2009, 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 functions used to test the Date format API
28 static void TestDateFormat(void);
29 static void TestRelativeDateFormat(void);
32 * The function used to test API udat_getSymbols(), udat_setSymbols() and udat_countSymbols()
34 static void TestSymbols(void);
37 * Test DateFormat(Calendar) API
39 static void TestDateFormatCalendar(void);
42 * test subroutines used by TestSymbols
44 static void VerifygetSymbols(UDateFormat
*, UDateFormatSymbolType
, int32_t, const char*);
45 static void VerifysetSymbols(UDateFormat
*, UDateFormatSymbolType
, int32_t, const char*);
46 static void VerifygetsetSymbols(UDateFormat
*, UDateFormat
*, UDateFormatSymbolType
, int32_t);
49 * test subroutine used by the testing functions
51 static UChar
* myNumformat(const UNumberFormat
* numfor
, double d
);
53 #endif /* #if !UCONFIG_NO_FORMATTING */