Skip to content

Commit d315a4b

Browse files
committed
update to tzdb-2018b
1 parent 8b05f3d commit d315a4b

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Timezone repository based on IANA/TZDB
33

44
This project will be regularly updated when ever new versions of the IANA/TZDB are available. Just drop the newest tzdata-jar (together with time4j-core and time4j-olson) into your classpath, and you can enjoy Time4J with its own timezone repository.
55

6-
TZData effectively forms a module of Time4J (https://github.com/MenoData/Time4J). Its newest version v2.0-2018a can be combined with version line v4.34 or later. Older TZData-distributions requires a minimum version of v3.5/4.3 or higher.
6+
TZData effectively forms a module of Time4J (https://github.com/MenoData/Time4J). Its newest version v2.1-2018b can be combined with version line v4.34 or later. Older TZData-distributions before v2.0-2018a requires a minimum version of v3.5/4.3 or higher.

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>2.0-2018a</version>
7+
<version>2.1-2018b</version>
88
<packaging>jar</packaging>
99
<name>Time4J-TZDATA</name>
1010

src/main/resources/META-INF/services/net.time4j.tz.ZoneProvider renamed to src/main/resources/META-INF/services/net.time4j.tz.ZoneNameProvider

File renamed without changes.
0 Bytes
Binary file not shown.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
@RunWith(JUnit4.class)
3434
public class RepositoryTest {
3535

36-
private static final String STD_VERSION = "2018a";
36+
private static final String STD_VERSION = "2018b";
3737
private static final ChronoFormatter<Moment> PARSER = Iso8601Format.EXTENDED_DATE_TIME_OFFSET;
3838

3939
private String propertyValue = null;
@@ -621,14 +621,14 @@ public void tzEuropeDublin() throws ParseException, IOException {
621621

622622
@Test
623623
public void leapSecondAtEndOf2016() {
624-
use("2016h");
624+
use("2018b");
625625
LeapSecondProvider repo = new TimezoneRepositoryProviderSPI();
626626
assertThat(
627627
repo.getLeapSecondTable().size(),
628628
is(27));
629629
assertThat(
630630
repo.getDateOfExpiration().toString(),
631-
is("2017-06-28"));
631+
is("2018-12-28"));
632632
assertThat(
633633
repo.getLeapSecondTable().get(PlainDate.of(2016, 12, 31)).intValue(),
634634
is(1));
92.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)