File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/test/java/org/joda/time Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,6 @@ public void testForID_String_old() {
264
264
map .put ("AGT" , "America/Argentina/Buenos_Aires" );
265
265
map .put ("BET" , "America/Sao_Paulo" );
266
266
map .put ("ART" , "Africa/Cairo" );
267
- map .put ("CAT" , "Africa/Harare" );
268
267
map .put ("EAT" , "Africa/Addis_Ababa" );
269
268
map .put ("NET" , "Asia/Yerevan" );
270
269
map .put ("PLT" , "Asia/Karachi" );
@@ -287,6 +286,11 @@ public void testForID_String_old() {
287
286
// System.out.println(zone);
288
287
// System.out.println("------");
289
288
}
289
+ // gee thanks time-zone db maintainer for damaging the database
290
+ // and breaking the long-standing association with CAT
291
+ TimeZone juZone = TimeZone .getTimeZone ("CAT" );
292
+ DateTimeZone zone = DateTimeZone .forTimeZone (juZone );
293
+ assertTrue (zone .getID ().equals ("Africa/Harare" ) || zone .getID ().equals ("Africa/Maputo" ));
290
294
}
291
295
292
296
//-----------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments