Skip to content

Commit a6a091e

Browse files
committed
update to tzdb 2018i
1 parent 1e68b6d commit a6a091e

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>net.time4j</groupId>
66
<artifactId>time4j-tzdata</artifactId>
7-
<version>5.0-2018h</version>
7+
<version>5.0-2018i</version>
88
<packaging>jar</packaging>
99
<name>Time4J-TZDATA</name>
1010

4 Bytes
Binary file not shown.

src/test/java/net/time4j/tz/repo/RepositoryTest.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class RepositoryTest {
3737
TZDATA.init();
3838
}
3939

40-
private static final String STD_VERSION = "2018h";
40+
private static final String STD_VERSION = "2018i";
4141
private static final ChronoFormatter<Moment> PARSER = Iso8601Format.EXTENDED_DATE_TIME_OFFSET;
4242

4343
private String propertyValue = null;
@@ -112,8 +112,16 @@ public void tzAfricaCasablanca2015a() throws ParseException {
112112
}
113113

114114
@Test
115-
public void tzAfricaCasablanca2018g() throws IOException {
116-
Timezone.of("Africa/Casablanca").dump(System.out);
115+
public void tzAfricaSaoTome2018i() throws IOException, ParseException {
116+
use("2018i");
117+
String zoneID = "Africa/Sao_Tome";
118+
int start = 2018;
119+
int end = 2019;
120+
Object[][] data = {
121+
{"2018-01-01T01:00+00:00", 0, 1, 0},
122+
{"2019-01-01T02:00+01:00", 1, 0, 0},
123+
};
124+
checkTransitions(zoneID, start, end, data);
117125
}
118126

119127
@Test
93.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)