mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-01 00:02:37 +00:00
7056126: DateFormatSymbols documentation has incorrect description about DateFormat
7083668: Sample code in ListResourceBundle is still not correct Reviewed-by: okutsu
This commit is contained in:
parent
131c0a6f08
commit
c9d407ad39
@ -59,7 +59,7 @@ import sun.util.locale.provider.TimeZoneNameUtility;
|
||||
* <code>DateFormatSymbols</code> is a public class for encapsulating
|
||||
* localizable date-time formatting data, such as the names of the
|
||||
* months, the names of the days of the week, and the time zone data.
|
||||
* <code>DateFormat</code> and <code>SimpleDateFormat</code> both use
|
||||
* <code>SimpleDateFormat</code> uses
|
||||
* <code>DateFormatSymbols</code> to encapsulate this information.
|
||||
*
|
||||
* <p>
|
||||
|
||||
@ -89,7 +89,7 @@ import sun.util.ResourceBundleEnumeration;
|
||||
*
|
||||
* public class MyResources_fr extends ListResourceBundle {
|
||||
* protected Object[][] getContents() {
|
||||
* return new Object[][] = {
|
||||
* return new Object[][] {
|
||||
* // LOCALIZE THIS
|
||||
* {"s1", "Le disque \"{1}\" {0}."}, // MessageFormat pattern
|
||||
* {"s2", "1"}, // location of {0} in pattern
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user