From e02decde99c806dbb5c2b5aa18e52a24de55367f Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Sun, 15 Sep 2024 21:46:36 +0100 Subject: [PATCH] Update time zone data to 2024bgtz --- .../format/TestDateTimeFormatterBuilder.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/java/org/joda/time/format/TestDateTimeFormatterBuilder.java b/src/test/java/org/joda/time/format/TestDateTimeFormatterBuilder.java index 102760d62..46128e6e2 100644 --- a/src/test/java/org/joda/time/format/TestDateTimeFormatterBuilder.java +++ b/src/test/java/org/joda/time/format/TestDateTimeFormatterBuilder.java @@ -21,15 +21,15 @@ import java.util.Locale; import java.util.Map; -import junit.framework.AssertionFailedError; -import junit.framework.TestCase; -import junit.framework.TestSuite; - import org.joda.time.DateTime; import org.joda.time.DateTimeFieldType; import org.joda.time.DateTimeZone; import org.joda.time.LocalDateTime; +import junit.framework.AssertionFailedError; +import junit.framework.TestCase; +import junit.framework.TestSuite; + /** * This class is a Junit unit test for DateTimeFormatterBuilder. * @@ -553,8 +553,8 @@ public void test_printParseZoneMET() { DateTimeFormatter f = bld.toFormatter(); DateTime dt = new DateTime(2007, 3, 4, 12, 30, 0, DateTimeZone.forID("MET")); - assertEquals("2007-03-04 12:30 MET", f.print(dt)); - assertEquals(dt, f.parseDateTime("2007-03-04 12:30 MET")); + assertEquals("2007-03-04 12:30 CET", f.print(dt)); + assertEquals(dt, f.parseDateTime("2007-03-04 12:30 CET")); } public void test_printParseZoneMET_suffix() { @@ -563,8 +563,8 @@ public void test_printParseZoneMET_suffix() { DateTimeFormatter f = bld.toFormatter(); DateTime dt = new DateTime(2007, 3, 4, 12, 30, 0, DateTimeZone.forID("MET")); - assertEquals("2007-03-04 12:30 MET]", f.print(dt)); - assertEquals(dt, f.parseDateTime("2007-03-04 12:30 MET]")); + assertEquals("2007-03-04 12:30 CET]", f.print(dt)); + assertEquals(dt, f.parseDateTime("2007-03-04 12:30 CET]")); } public void test_printParseZoneBahiaBanderas() {