Skip to content

Commit

Permalink
Prepare for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Haraldsen committed Jan 30, 2024
1 parent 79c06c6 commit ad4e132
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -31,7 +31,7 @@ Add dependency
<dependency>
<groupId>com.ethlo.time</groupId>
<artifactId>itu</artifactId>
<version>1.8.0</version>
<version>1.9.0</version>
<!-- If you want to use minified JAR -->
<classifier>small</classifier>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ limitations under the License.
<groupId>com.ethlo.time</groupId>
<packaging>bundle</packaging>
<artifactId>itu</artifactId>
<version>1.9.0</version>
<version>1.9.1-SNAPSHOT</version>
<name>Internet Time Utility</name>
<description>Extremely fast date-time parser and formatter - RFC 3339 (ISO 8601 profile) and W3C format
</description>
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/com/ethlo/time/ITUTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad4e132

Please sign in to comment.