]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/tzregts.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 1998-2005, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
9 #ifndef _TIMEZONEREGRESSIONTEST_
10 #define _TIMEZONEREGRESSIONTEST_
12 #include "unicode/utypes.h"
14 #if !UCONFIG_NO_FORMATTING
16 #include "unicode/timezone.h"
17 #include "unicode/gregocal.h"
18 #include "unicode/simpletz.h"
24 * Performs regression test for Calendar
26 class TimeZoneRegressionTest
: public IntlTest
{
29 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
);
32 void Test4052967(void);
33 void Test4073209(void);
34 void Test4073215(void);
35 void Test4084933(void);
36 void Test4096952(void);
37 void Test4109314(void);
38 void Test4126678(void);
39 void Test4151406(void);
40 void Test4151429(void);
41 void Test4154537(void);
42 void Test4154542(void);
43 void Test4154650(void);
44 void Test4154525(void);
45 void Test4162593(void);
46 void Test4176686(void);
49 void TestJDK12API(void);
50 void Test4184229(void);
51 UBool
checkCalendar314(GregorianCalendar
*testCal
, TimeZone
*testTZ
);
52 void TestNegativeDaylightSaving(void);
56 UDate
findTransitionBinary(const SimpleTimeZone
& tz
, UDate min
, UDate max
);
57 UDate
findTransitionStepwise(const SimpleTimeZone
& tz
, UDate min
, UDate max
);
58 UBool
failure(UErrorCode status
, const char* msg
);
61 #endif /* #if !UCONFIG_NO_FORMATTING */
63 #endif // _CALENDARREGRESSIONTEST_