]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/incaltst.h
1 /********************************************************************
3 * Copyright (c) 1997-2003, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
7 #ifndef __IntlCalendarTest__
8 #define __IntlCalendarTest__
10 #include "unicode/utypes.h"
12 #if !UCONFIG_NO_FORMATTING
14 #include "unicode/calendar.h"
15 #include "unicode/smpdtfmt.h"
18 class IntlCalendarTest
: public CalendarTimeZoneTest
{
21 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
);
25 void TestGregorian(void);
27 void TestBuddhist(void);
28 void TestBuddhistFormat(void);
30 void TestJapanese(void);
31 void TestJapaneseFormat(void);
34 // Test a Gregorian-Like calendar
35 void quasiGregorianTest(Calendar
& cal
, const Locale
& gregoLocale
, const int32_t *data
);
36 void simpleTest(const Locale
& loc
, const UnicodeString
& expect
, UDate expectDate
, UErrorCode
& status
);
39 // internal routine for checking date
40 static UnicodeString
value(Calendar
* calendar
);
44 #endif /* #if !UCONFIG_NO_FORMATTING */
46 #endif // __IntlCalendarTest__