scuffed-code/icu4c/source/test/intltest/incaltst.h
Steven R. Loomis e1e5ae9358 ICU-2436 multiple calendars (Buddhist)
X-SVN-Rev: 11973
2003-05-16 21:58:37 +00:00

42 lines
1.1 KiB
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2003, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#ifndef __IntlCalendarTest__
#define __IntlCalendarTest__
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/calendar.h"
#include "unicode/smpdtfmt.h"
#include "caltztst.h"
class IntlCalendarTest: public CalendarTimeZoneTest {
public:
// IntlTest override
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
public:
/**
* Confirm that the registered calendars have the correct type.
*/
void TestTypes(void);
void TestBuddhist(void);
protected:
void quasiGregorianTest(Calendar& cal, const Locale& gregoLocale, const int32_t *data);
public: // package
// internal routine for checking date
static UnicodeString value(Calendar* calendar);
};
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif // __IntlCalendarTest__