Skip to content

Commit

Permalink
Update samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Haraldsen committed Feb 6, 2024
1 parent be838dc commit ef87b36
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/test/java/samples/ITUParserSamples.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void parseLenient()
}

@Test
void parseLenientlyWithCustomSeparators()
void parseLenientWithCustomSeparators()
{
final ParseConfig config = ParseConfig.DEFAULT
.withDateTimeSeparators('T', '|')
Expand Down Expand Up @@ -122,7 +122,7 @@ public OffsetDateTime handle(final OffsetDateTime offsetDateTime)
* <p></p>Note the limitations and the assumption of UTC time-zone, as mentioned in the javadoc.</p>
*/
@Test
void test()
void lenientTimestamp()
{
final Instant instant = ITU.parseLenient("2017-12-06").toInstant();
assertThat(instant.toString()).isEqualTo("2017-12-06T00:00:00Z");
Expand Down Expand Up @@ -153,7 +153,7 @@ void parseCustomFormat()
}

@Test
void parseUsingInterface()
void parseUsingInterfaceRfc33939()
{
final DateTimeParser parser = DateTimeParsers.rfc3339();
final String text = "2000-12-31 23:59:37.123456";
Expand All @@ -162,7 +162,7 @@ void parseUsingInterface()
}

@Test
void testParseLocalTime()
void parseUsingInterfaceLocalTime()
{
final DateTimeParser parser = DateTimeParsers.localTime();
final String text = "23:59:37.123456";
Expand All @@ -171,7 +171,7 @@ void testParseLocalTime()
}

@Test
void testParseLocalDate()
void parseUsingInterfaceLocalDate()
{
final DateTimeParser parser = DateTimeParsers.localDate();
final String text = "2013-12-24";
Expand Down

0 comments on commit ef87b36

Please sign in to comment.