Skip to content

Commit 2735000

Browse files
author
Jerome Guibert
committed
update javadoc
1 parent 3c2d409 commit 2735000

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

src/main/java/com/fasterxml/jackson/databind/util/ISO8601Utils.java

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ public class ISO8601Utils {
2424
*/
2525
private static final TimeZone TIMEZONE_GMT = TimeZone.getTimeZone(GMT_ID);
2626

27-
/*
28-
* /********************************************************** /* Static factories
29-
* /**********************************************************
30-
*/
27+
/* ********************************************************* */
28+
/* Static factories */
29+
/* ********************************************************* */
3130

3231
/**
3332
* Accessor for static GMT timezone instance.
@@ -36,10 +35,9 @@ public static TimeZone timeZoneGMT() {
3635
return TIMEZONE_GMT;
3736
}
3837

39-
/*
40-
* /********************************************************** /* Formatting
41-
* /**********************************************************
42-
*/
38+
/* ********************************************************* */
39+
/* Formatting */
40+
/* ********************************************************* */
4341

4442
/**
4543
* Format a date into 'yyyy-MM-ddThh:mm:ssZ' (GMT timezone, no milliseconds precision)
@@ -111,13 +109,13 @@ public static String format(Date date, boolean millis, TimeZone tz) {
111109
return formatted.toString();
112110
}
113111

114-
/*
115-
* /********************************************************** /* Parsing
116-
* /**********************************************************
117-
*/
112+
/* ********************************************************* */
113+
/* Parsing */
114+
/* ********************************************************* */
118115

119116
/**
120-
* Parse a date from ISO-8601 formatted string. It expects a format yyyy-MM-ddThh:mm:ss[.sss][Z|[+-]hh:mm]
117+
* Parse a date from ISO-8601 formatted string. It expects a format
118+
* [yyyy-MM-dd|yyyyMMdd][T(hh:mm[:ss[.sss]]|hhmm[ss[.sss]])]?[Z|[+-]hh:mm]]
121119
*
122120
* @param date ISO string to parse in the appropriate format.
123121
* @param pos The position to start parsing from, updated to where parsing stopped.

0 commit comments

Comments
 (0)