Skip to content

Commit

Permalink
Fix tests in DateUtilsTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
udenr committed Dec 9, 2024
1 parent 43a1c8e commit 2639f1a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ private DataAsStringTestCaseBuilder[] parametersForFormattedDateString()
.setInputPattern(DateUtils.ISO_PATTERN_MIN)
.setOutputPaterrn(DE_PATTERN)
.setLanguage(DateUtils.DE)
.setExpectedDate("Mi 29.06.2016 15:37"),
.setExpectedDate("Mi. 29.06.2016 15:37"),

new DataAsStringTestCaseBuilder()
.setInputDate("2016-06-29 15:37")
.setInputPattern(DateUtils.ISO_PATTERN_MIN)
.setOutputPaterrn(JA_PATTERN)
.setLanguage(DateUtils.JA)
.setExpectedDate("2016/06/29 … 15:37"),
.setExpectedDate("2016/06/29 15:37"),

new DataAsStringTestCaseBuilder()
.setInputDate("Wed 06/29/2016 15:37")
Expand All @@ -51,14 +51,14 @@ private DataAsStringTestCaseBuilder[] parametersForFormattedDateString()
.setExpectedDate("2016-06-29 15:37"),

new DataAsStringTestCaseBuilder()
.setInputDate("Mi 29.06.2016 15:37")
.setInputDate("Mi. 29.06.2016 15:37")
.setInputPattern(DE_PATTERN)
.setOutputPaterrn(DateUtils.ISO_PATTERN_MIN)
.setLanguage(DateUtils.DE)
.setExpectedDate("2016-06-29 15:37"),

new DataAsStringTestCaseBuilder()
.setInputDate("2016/06/29 … 15:37")
.setInputDate("2016/06/29 15:37")
.setInputPattern(JA_PATTERN)
.setOutputPaterrn(DateUtils.ISO_PATTERN_MIN)
.setLanguage(DateUtils.JA)
Expand Down

0 comments on commit 2639f1a

Please sign in to comment.