mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8300706: Use @snippet in java.text
Reviewed-by: naoto
This commit is contained in:
parent
b5ee3d1f2a
commit
0323609f44
5 changed files with 58 additions and 62 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -78,9 +78,9 @@ import sun.util.locale.provider.TimeZoneNameUtility;
|
|||
* If you decide to create a date-time formatter with a specific
|
||||
* format pattern for a specific locale, you can do so with:
|
||||
* <blockquote>
|
||||
* <pre>
|
||||
* new SimpleDateFormat(aPattern, DateFormatSymbols.getInstance(aLocale)).
|
||||
* </pre>
|
||||
* {@snippet lang=java :
|
||||
* new SimpleDateFormat(aPattern, DateFormatSymbols.getInstance(aLocale));
|
||||
* }
|
||||
* </blockquote>
|
||||
*
|
||||
* <p>If the locale contains "rg" (region override)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue