Skip to content

Commit

Permalink
update to tzdb 2019c
Browse files Browse the repository at this point in the history
  • Loading branch information
MenoData committed Sep 13, 2019
1 parent edf7c6f commit 97e81c9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.time4j</groupId>
<artifactId>time4j-tzdata</artifactId>
<version>5.0-2019b</version>
<version>5.0-2019c</version>
<packaging>jar</packaging>
<name>Time4J-TZDATA</name>

Expand Down
Binary file modified src/main/resources/tzrepo/tzdata.repository
Binary file not shown.
11 changes: 6 additions & 5 deletions src/test/java/net/time4j/tz/repo/RepositoryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class RepositoryTest {
TZDATA.init();
}

private static final String STD_VERSION = "2019b";
private static final String STD_VERSION = "2019c";
private static final ChronoFormatter<Moment> PARSER = Iso8601Format.EXTENDED_DATE_TIME_OFFSET;

private String propertyValue = null;
Expand Down Expand Up @@ -112,7 +112,7 @@ public void tzAfricaCasablanca2015a() throws ParseException {
}

@Test
public void tzAfricaSaoTome2018i() throws IOException, ParseException {
public void tzAfricaSaoTome2018i() throws ParseException {
use("2018i");
String zoneID = "Africa/Sao_Tome";
int start = 2018;
Expand Down Expand Up @@ -174,15 +174,16 @@ public void tzAmericaLosAngeles() throws ParseException {

@Test
public void tzAmericaKentuckyLouisville() throws ParseException {
use("2019c");
String zoneID = "America/Kentucky/Louisville";
int start = 1942;
int end = 1950;
Object[][] data = {
{"1942-02-09T02:00-06:00", -6, -5, 1},
{"1945-09-30T02:00-05:00", -5, -6, 0},
{"1946-04-28T02:00-06:00", -6, -5, 1},
{"1946-04-28T00:01-06:00", -6, -5, 1},
{"1946-06-02T02:00-05:00", -5, -6, 0},
{"1947-04-27T02:00-06:00", -6, -5, 1},
{"1950-04-30T02:00-06:00", -6, -5, 1},
{"1950-09-24T02:00-05:00", -5, -6, 0}
};
checkTransitions(zoneID, start, end, data);
Expand Down Expand Up @@ -676,7 +677,7 @@ public void tzEuropePrague() throws ParseException {
}

@Test
public void tzAsiaTokyo() throws ParseException, IOException {
public void tzAsiaTokyo() throws ParseException {
use("2018g");
String zoneID = "Asia/Tokyo";
int start = 1950;
Expand Down
Binary file added src/test/resources/tzrepo/tzdata2019c.repository
Binary file not shown.

0 comments on commit 97e81c9

Please sign in to comment.