Integrated: 8331207: Misleading example in DateFormat#parse docs
Justin Lu
jlu at openjdk.org
Tue Apr 30 16:53:10 UTC 2024
On Fri, 26 Apr 2024 17:47:46 GMT, Justin Lu <jlu at openjdk.org> wrote:
> Correct a misleading example in the DateFormat parse documentation.
>
> Common usage is to use a factory instance. The original example provided assumes a pattern provided by a COMPAT factory instance.
>
> The pattern itself should be explicitly provided, since users may be using CLDR factory instances.
This pull request has now been integrated.
Changeset: a863ef5d
Author: Justin Lu <jlu at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a863ef5d74e9001a143af4638422348ee946c939
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
8331207: Misleading example in DateFormat#parse docs
Reviewed-by: naoto
-------------
PR: https://git.openjdk.org/jdk/pull/18983
More information about the core-libs-dev
mailing list