Skip to content

Commit 598fb27

Browse files
author
exoego
committed
Reformat
1 parent 250ae4d commit 598fb27

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

core/shared/src/main/scala/org/threeten/bp/format/DateTimeFormatter.scala

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ object DateTimeFormatter {
8282
* This is pre-padded by zero to ensure two digits.
8383
* </ul><p>
8484
*/
85-
val lazy ISO_LOCAL_DATE: DateTimeFormatter = new DateTimeFormatterBuilder()
85+
lazy val ISO_LOCAL_DATE: DateTimeFormatter = new DateTimeFormatterBuilder()
8686
.appendValue(YEAR, 4, 10, SignStyle.EXCEEDS_PAD)
8787
.appendLiteral('-')
8888
.appendValue(MONTH_OF_YEAR, 2)
@@ -218,12 +218,13 @@ object DateTimeFormatter {
218218
* <li>The {@link #ISO_LOCAL_TIME}
219219
* </ul><p>
220220
*/
221-
lazy val ISO_LOCAL_DATE_TIME: DateTimeFormatter = new DateTimeFormatterBuilder().parseCaseInsensitive
222-
.append(ISO_LOCAL_DATE)
223-
.appendLiteral('T')
224-
.append(ISO_LOCAL_TIME)
225-
.toFormatter(ResolverStyle.STRICT)
226-
.withChronology(IsoChronology.INSTANCE)
221+
lazy val ISO_LOCAL_DATE_TIME: DateTimeFormatter =
222+
new DateTimeFormatterBuilder().parseCaseInsensitive
223+
.append(ISO_LOCAL_DATE)
224+
.appendLiteral('T')
225+
.append(ISO_LOCAL_TIME)
226+
.toFormatter(ResolverStyle.STRICT)
227+
.withChronology(IsoChronology.INSTANCE)
227228

228229
/** Returns the ISO date formatter that prints/parses a date-time
229230
* with an offset, such as '2011-12-03T10:15:30+01:00'.
@@ -238,11 +239,12 @@ object DateTimeFormatter {
238239
* Parsing is case insensitive.
239240
* </ul><p>
240241
*/
241-
lazy val ISO_OFFSET_DATE_TIME: DateTimeFormatter = new DateTimeFormatterBuilder().parseCaseInsensitive
242-
.append(ISO_LOCAL_DATE_TIME)
243-
.appendOffsetId
244-
.toFormatter(ResolverStyle.STRICT)
245-
.withChronology(IsoChronology.INSTANCE)
242+
lazy val ISO_OFFSET_DATE_TIME: DateTimeFormatter =
243+
new DateTimeFormatterBuilder().parseCaseInsensitive
244+
.append(ISO_LOCAL_DATE_TIME)
245+
.appendOffsetId
246+
.toFormatter(ResolverStyle.STRICT)
247+
.withChronology(IsoChronology.INSTANCE)
246248

247249
/** Returns the ISO date formatter that prints/parses a date-time with
248250
* offset and zone, such as '2011-12-03T10:15:30+01:00[Europe/Paris]'.

0 commit comments

Comments
 (0)