8331207: Misleading example in DateFormat#parse docs
Reviewed-by: naoto
This commit is contained in:
parent
aca1e8365b
commit
a863ef5d74
@ -407,7 +407,8 @@ public abstract class DateFormat extends Format {
|
||||
|
||||
/**
|
||||
* Parse a date/time string according to the given parse position. For
|
||||
* example, a time text {@code "07/10/96 4:5 PM, PDT"} will be parsed into a {@code Date}
|
||||
* example, if {@code this} has the pattern {@code "M/d/yy h:m a, z"},
|
||||
* then a time text {@code "07/10/96 4:5 PM, PDT"} will be parsed into a {@code Date}
|
||||
* that is equivalent to {@code Date(837039900000L)}.
|
||||
*
|
||||
* <p> By default, parsing is lenient: If the input is not in the form used
|
||||
|
Loading…
x
Reference in New Issue
Block a user