src/share/classes/sun/text/resources/FormatData.java
Print this page
@@ -77,13 +77,13 @@
* of the copyright holder.
*/
package sun.text.resources;
-import java.util.ListResourceBundle;
+import sun.util.resources.ParallelListResourceBundle;
-public class FormatData extends ListResourceBundle {
+public class FormatData extends ParallelListResourceBundle {
/**
* Overrides ListResourceBundle
*/
@Override
protected final Object[][] getContents() {
@@ -115,16 +115,10 @@
"Taisho",
"Showa",
"Heisei",
};
- // Minguo era strings
- final String[] rocEras ={
- "Before R.O.C.",
- "R.O.C.",
- };
-
return new Object[][] {
{ "MonthNames",
new String[] {
"January", // january
"February", // february
@@ -220,17 +214,11 @@
"p" // pm marker
}
},
{ "Eras",
julianEras },
- { "cldr.long.Eras",
- new String[] {
- "Before Christ",
- "Anno Domini"
- }
- },
- { "cldr.short.Eras",
+ { "short.Eras",
julianEras },
{ "narrow.Eras",
new String[] {
"B",
"A",
@@ -245,14 +233,10 @@
{ "buddhist.narrow.Eras",
buddhistEras
},
{ "japanese.Eras",
japaneseEras },
- { "cldr.japanese.long.Eras",
- japaneseEras },
- { "cldr.japanese.short.Eras",
- japaneseEras },
{ "japanese.short.Eras",
japaneseEraAbbrs
},
{ "japanese.narrow.Eras",
japaneseEraAbbrs
@@ -837,18 +821,10 @@
"H:mm:ss z", // long time pattern
"H:mm:ss", // medium time pattern
"H:mm", // short time pattern
}
},
- { "cldr.buddhist.DatePatterns",
- new String[] {
- "EEEE, G y MMMM dd",
- "G y MMMM d",
- "G y MMM d",
- "GGGGG yyyy-MM-dd",
- }
- },
{ "buddhist.DatePatterns",
new String[] {
"EEEE d MMMM G yyyy", // full date pattern
"d MMMM yyyy", // long date pattern
"d MMM yyyy", // medium date pattern
@@ -866,18 +842,10 @@
"h:mm:ss a z", // long time pattern
"h:mm:ss a", // medium time pattern
"h:mm a", // short time pattern
}
},
- { "cldr.japanese.DatePatterns",
- new String[] {
- "EEEE, G y MMMM dd",
- "G y MMMM d",
- "G y MMM d",
- "GGGGG yy-MM-dd",
- }
- },
{ "japanese.DatePatterns",
new String[] {
"GGGG yyyy MMMM d (EEEE)", // full date pattern
"GGGG yyyy MMMM d", // long date pattern
"GGGG yyyy MMM d", // medium date pattern
@@ -887,125 +855,9 @@
{ "japanese.DateTimePatterns",
new String[] {
"{1} {0}" // date-time pattern
}
},
- { "roc.Eras", rocEras },
- { "roc.short.Eras", rocEras },
- { "cldr.roc.DatePatterns",
- new String[] {
- "EEEE, G y MMMM dd",
- "G y MMMM d",
- "G y MMM d",
- "GGGGG yyy-MM-dd",
- }
- },
- { "roc.DatePatterns",
- new String[] {
- "EEEE, GGGG y MMMM dd",
- "GGGG y MMMM d",
- "GGGG y MMM d",
- "G yyy-MM-dd",
- }
- },
- { "islamic.MonthNames",
- new String[] {
- "Muharram",
- "Safar",
- "Rabi\u02bb I",
- "Rabi\u02bb II",
- "Jumada I",
- "Jumada II",
- "Rajab",
- "Sha\u02bbban",
- "Ramadan",
- "Shawwal",
- "Dhu\u02bbl-Qi\u02bbdah",
- "Dhu\u02bbl-Hijjah",
- "",
- }
- },
- { "islamic.MonthAbbreviations",
- new String[] {
- "Muh.",
- "Saf.",
- "Rab. I",
- "Rab. II",
- "Jum. I",
- "Jum. II",
- "Raj.",
- "Sha.",
- "Ram.",
- "Shaw.",
- "Dhu\u02bbl-Q.",
- "Dhu\u02bbl-H.",
- "",
- }
- },
- { "islamic.Eras",
- new String[] {
- "",
- "AH",
- }
- },
- { "cldr.islamic.DatePatterns",
- new String[] {
- "EEEE, MMMM d, y G",
- "MMMM d, y G",
- "MMM d, y G",
- "M/d/yy G",
- }
- },
- { "islamic.DatePatterns",
- new String[] {
- "EEEE, MMMM d, y GGGG",
- "MMMM d, y GGGG",
- "MMM d, y GGGG",
- "M/d/yy GGGG",
- }
- },
- { "QuarterNames",
- new String[] {
- "1st quarter",
- "2nd quarter",
- "3rd quarter",
- "4th quarter",
- }
- },
- { "QuarterAbbreviations",
- new String[] {
- "Q1",
- "Q2",
- "Q3",
- "Q4",
- }
- },
- { "QuarterNarrows",
- new String[] {
- "1",
- "2",
- "3",
- "4",
- }
- },
{ "DateTimePatternChars", "GyMdkHmsSEDFwWahKzZ" },
- { "calendarname.islamic-civil", "Islamic-Civil Calendar" },
- { "calendarname.islamicc", "Islamic-Civil Calendar" },
- { "calendarname.islamic", "Islamic Calendar" },
- { "calendarname.japanese", "Japanese Calendar" },
- { "calendarname.gregorian", "Gregorian Calendar" },
- { "calendarname.gregory", "Gregorian Calendar" },
- { "calendarname.roc", "Minguo Calendar" },
- { "calendarname.buddhist", "Buddhist Calendar" },
- { "field.era", "Era" },
- { "field.year", "Year" },
- { "field.month", "Month" },
- { "field.week", "Week" },
- { "field.weekday", "Day of the Week" },
- { "field.dayperiod", "Dayperiod" },
- { "field.hour", "Hour" },
- { "field.minute", "Minute" },
- { "field.second", "Second" },
- { "field.zone", "Zone" },
};
}
}