File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/java.base/share/classes/java/text Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 119119 * different options to these factory methods to control the length of the
120120 * result; from {@link #SHORT} to {@link #MEDIUM} to {@link #LONG} to {@link #FULL}. The exact result depends
121121 * on the locale, but generally:
122- * <ul><li>{@link #SHORT} is completely numeric, such as {@code 12.13.52} or {@code 3:30pm}
122+ * <ul><li>{@link #SHORT} is the shortest and mainly numeric, such as {@code 12.13.52} or {@code 3:30pm}
123123 * <li>{@link #MEDIUM} is longer, such as {@code Jan 12, 1952}
124- * <li>{@link #LONG} is longer, such as {@code January 12, 1952} or {@code 3:30:32pm}
125- * <li>{@link #FULL} is pretty completely specified , such as
124+ * <li>{@link #LONG} is even longer, such as {@code January 12, 1952} or {@code 3:30:32pm}
125+ * <li>{@link #FULL} is the longest , such as
126126 * {@code Tuesday, April 12, 1952 AD or 3:30:42pm PST}.
127127 * </ul>
128+ * For those fields with text, typically abbreviated text form is used with {@link #MEDIUM} option,
129+ * and full text form is used with {@link #LONG} and {@link #FULL} options.
128130 *
129131 * <p>You can also set the time zone on the format if you wish.
130132 * If you want even more control over the format or parsing,
You can’t perform that action at this time.
0 commit comments