@@ -82,7 +82,7 @@ object DateTimeFormatter {
82
82
* This is pre-padded by zero to ensure two digits.
83
83
* </ul><p>
84
84
*/
85
- val lazy ISO_LOCAL_DATE : DateTimeFormatter = new DateTimeFormatterBuilder ()
85
+ lazy val ISO_LOCAL_DATE : DateTimeFormatter = new DateTimeFormatterBuilder ()
86
86
.appendValue(YEAR , 4 , 10 , SignStyle .EXCEEDS_PAD )
87
87
.appendLiteral('-' )
88
88
.appendValue(MONTH_OF_YEAR , 2 )
@@ -218,12 +218,13 @@ object DateTimeFormatter {
218
218
* <li>The {@link #ISO_LOCAL_TIME}
219
219
* </ul><p>
220
220
*/
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 )
227
228
228
229
/** Returns the ISO date formatter that prints/parses a date-time
229
230
* with an offset, such as '2011-12-03T10:15:30+01:00'.
@@ -238,11 +239,12 @@ object DateTimeFormatter {
238
239
* Parsing is case insensitive.
239
240
* </ul><p>
240
241
*/
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 )
246
248
247
249
/** Returns the ISO date formatter that prints/parses a date-time with
248
250
* offset and zone, such as '2011-12-03T10:15:30+01:00[Europe/Paris]'.
0 commit comments