From ad4e13249aa2ea30e078f156fd61277928d11406 Mon Sep 17 00:00:00 2001 From: Morten Haraldsen Date: Tue, 30 Jan 2024 17:36:54 +0100 Subject: [PATCH] Prepare for new version --- README.md | 4 ++-- pom.xml | 2 +- src/test/java/com/ethlo/time/ITUTest.java | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e846f0d..0f68078 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ handle [RFC-3339 Timestamps](https://www.ietf.org/rfc/rfc3339.txt) and W3C [Date ## Features * Very easy to use. * Aim for 100% specification compliance. -* No external dependencies, minimal JAR size (16.4KB). +* No external dependencies, minimal JAR size. * Apache 2 licensed, can be used in any project, even commercial. * Handling leap-seconds (if you want to). * Well-[documented API](https://javadoc.io/doc/com.ethlo.time/itu/latest/com/ethlo/time/ITU.html). @@ -31,7 +31,7 @@ Add dependency com.ethlo.time itu - 1.8.0 + 1.9.0 small diff --git a/pom.xml b/pom.xml index ef901df..2493c45 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ limitations under the License. com.ethlo.time bundle itu - 1.9.0 + 1.9.1-SNAPSHOT Internet Time Utility Extremely fast date-time parser and formatter - RFC 3339 (ISO 8601 profile) and W3C format diff --git a/src/test/java/com/ethlo/time/ITUTest.java b/src/test/java/com/ethlo/time/ITUTest.java index 3cbefaa..8937e03 100644 --- a/src/test/java/com/ethlo/time/ITUTest.java +++ b/src/test/java/com/ethlo/time/ITUTest.java @@ -348,9 +348,9 @@ void testParseUnparseable() @Test void testParsePosition() { - final ParsePosition pos = new ParsePosition(0); - ITU.parseLenient("1999-11-22T11:22:17.191", ParseConfig.DEFAULT, pos); - assertThat(pos.getIndex()).isEqualTo(23); + final ParsePosition pos = new ParsePosition(10); + ITU.parseLenient("123456789,1999-11-22T11:22:17Z,22222222222", ParseConfig.STRICT, pos); + assertThat(pos.getIndex()).isEqualTo(30); } @Test