On Fri, 26 Apr 2024 17:47:46 GMT, Justin Lu <j...@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 <j...@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

Reply via email to