OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * Copyright (C) 2007-2012, International Business Machines Corporation and * | 3 * Copyright (C) 2007-2014, International Business Machines Corporation and * |
4 * others. All Rights Reserved. * | 4 * others. All Rights Reserved. * |
5 ******************************************************************************* | 5 ******************************************************************************* |
6 */ | 6 */ |
7 | 7 |
8 #include "unicode/utypes.h" | 8 #include "unicode/utypes.h" |
9 | 9 |
10 #if !UCONFIG_NO_FORMATTING | 10 #if !UCONFIG_NO_FORMATTING |
11 | 11 |
12 #include "unicode/dtrule.h" | 12 #include "unicode/dtrule.h" |
13 #include "unicode/tzrule.h" | 13 #include "unicode/tzrule.h" |
14 #include "unicode/rbtz.h" | 14 #include "unicode/rbtz.h" |
15 #include "unicode/simpletz.h" | 15 #include "unicode/simpletz.h" |
16 #include "unicode/tzrule.h" | 16 #include "unicode/tzrule.h" |
17 #include "unicode/calendar.h" | 17 #include "unicode/calendar.h" |
18 #include "unicode/gregocal.h" | 18 #include "unicode/gregocal.h" |
19 #include "unicode/ucal.h" | 19 #include "unicode/ucal.h" |
20 #include "unicode/unistr.h" | 20 #include "unicode/unistr.h" |
21 #include "unicode/ustring.h" | 21 #include "unicode/ustring.h" |
22 #include "unicode/tztrans.h" | 22 #include "unicode/tztrans.h" |
23 #include "unicode/vtzone.h" | 23 #include "unicode/vtzone.h" |
24 #include "tzrulets.h" | 24 #include "tzrulets.h" |
25 #include "zrule.h" | 25 #include "zrule.h" |
26 #include "ztrans.h" | 26 #include "ztrans.h" |
27 #include "vzone.h" | 27 #include "vzone.h" |
28 #include "cmemory.h" | 28 #include "cmemory.h" |
29 | 29 |
30 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); log
ln((UnicodeString)""); test(); } break | 30 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); log
ln((UnicodeString)""); test(); } break |
31 #define HOUR (60*60*1000) | 31 #define HOUR (60*60*1000) |
32 | 32 |
33 static const UVersionInfo ICU_453 = {4,5,3,0}; | |
34 | |
35 static const char *const TESTZIDS[] = { | 33 static const char *const TESTZIDS[] = { |
36 "AGT", | 34 "AGT", |
37 "America/New_York", | 35 "America/New_York", |
38 "America/Los_Angeles", | 36 "America/Los_Angeles", |
39 "America/Indiana/Indianapolis", | 37 "America/Indiana/Indianapolis", |
40 "America/Havana", | 38 "America/Havana", |
41 "Europe/Lisbon", | 39 "Europe/Lisbon", |
42 "Europe/Paris", | 40 "Europe/Paris", |
43 "Asia/Tokyo", | 41 "Asia/Tokyo", |
44 "Asia/Sakhalin", | 42 "Asia/Sakhalin", |
(...skipping 2612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2657 errln(UnicodeString("Fail: Wrong offsets: ") + raw + "/" + dst + " E
xpected: 21600000/0"); | 2655 errln(UnicodeString("Fail: Wrong offsets: ") + raw + "/" + dst + " E
xpected: 21600000/0"); |
2658 } | 2656 } |
2659 } | 2657 } |
2660 | 2658 |
2661 delete rbtz; | 2659 delete rbtz; |
2662 } | 2660 } |
2663 | 2661 |
2664 #endif /* #if !UCONFIG_NO_FORMATTING */ | 2662 #endif /* #if !UCONFIG_NO_FORMATTING */ |
2665 | 2663 |
2666 //eof | 2664 //eof |
OLD | NEW |