Skip to content

Commit

Permalink
Update time zone data to 2024bgtz
Browse files Browse the repository at this point in the history
  • Loading branch information
jodastephen committed Sep 15, 2024
1 parent f132149 commit e02decd
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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() {
Expand All @@ -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() {
Expand Down

0 comments on commit e02decd

Please sign in to comment.