mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-13 12:59:41 +01:00
354 lines
11 KiB
Java
354 lines
11 KiB
Java
/*
|
|
* Copyright (c) 2013, 2019, 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
|
|
* under the terms of the GNU General Public License version 2 only, as
|
|
* published by the Free Software Foundation. Oracle designates this
|
|
* particular file as subject to the "Classpath" exception as provided
|
|
* by Oracle in the LICENSE file that accompanied this code.
|
|
*
|
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
* version 2 for more details (a copy is included in the LICENSE file that
|
|
* accompanied this code).
|
|
*
|
|
* You should have received a copy of the GNU General Public License version
|
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*
|
|
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
* or visit www.oracle.com if you need additional information or have any
|
|
* questions.
|
|
*/
|
|
|
|
/*
|
|
* COPYRIGHT AND PERMISSION NOTICE
|
|
*
|
|
* Copyright (C) 1991-2016 Unicode, Inc. All rights reserved.
|
|
* Distributed under the Terms of Use in
|
|
* http://www.unicode.org/copyright.html.
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
* a copy of the Unicode data files and any associated documentation
|
|
* (the "Data Files") or Unicode software and any associated documentation
|
|
* (the "Software") to deal in the Data Files or Software
|
|
* without restriction, including without limitation the rights to use,
|
|
* copy, modify, merge, publish, distribute, and/or sell copies of
|
|
* the Data Files or Software, and to permit persons to whom the Data Files
|
|
* or Software are furnished to do so, provided that
|
|
* (a) this copyright and permission notice appear with all copies
|
|
* of the Data Files or Software,
|
|
* (b) this copyright and permission notice appear in associated
|
|
* documentation, and
|
|
* (c) there is clear notice in each modified Data File or in the Software
|
|
* as well as in the documentation associated with the Data File(s) or
|
|
* Software that the data or software has been modified.
|
|
*
|
|
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
|
|
* ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
* NONINFRINGEMENT OF THIRD PARTY RIGHTS.
|
|
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
|
|
* NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
|
|
* DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THE DATA FILES OR SOFTWARE.
|
|
*
|
|
* Except as contained in this notice, the name of a copyright holder
|
|
* shall not be used in advertising or otherwise to promote the sale,
|
|
* use or other dealings in these Data Files or Software without prior
|
|
* written authorization of the copyright holder.
|
|
*/
|
|
|
|
// Note: this file has been generated by a tool.
|
|
|
|
package sun.text.resources;
|
|
|
|
import sun.util.resources.OpenListResourceBundle;
|
|
|
|
public class JavaTimeSupplementary extends OpenListResourceBundle {
|
|
@Override
|
|
protected final Object[][] getContents() {
|
|
final String[] sharedQuarterNames = {
|
|
"Q1",
|
|
"Q2",
|
|
"Q3",
|
|
"Q4",
|
|
};
|
|
|
|
final String[] sharedQuarterNarrows = {
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
};
|
|
|
|
final String[] sharedDatePatterns = {
|
|
"GGGG y MMMM d, EEEE",
|
|
"GGGG y MMMM d",
|
|
"GGGG y MMM d",
|
|
"G y-MM-dd",
|
|
};
|
|
|
|
final String[] sharedDayNames = {
|
|
"Sun",
|
|
"Mon",
|
|
"Tue",
|
|
"Wed",
|
|
"Thu",
|
|
"Fri",
|
|
"Sat",
|
|
};
|
|
|
|
final String[] sharedDayNarrows = {
|
|
"S",
|
|
"M",
|
|
"T",
|
|
"W",
|
|
"T",
|
|
"F",
|
|
"S",
|
|
};
|
|
|
|
final String[] sharedEras = {
|
|
"",
|
|
"AH",
|
|
};
|
|
|
|
final String[] sharedMonthNarrows = {
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"7",
|
|
"8",
|
|
"9",
|
|
"10",
|
|
"11",
|
|
"12",
|
|
"",
|
|
};
|
|
|
|
final String[] sharedTimePatterns = {
|
|
"HH:mm:ss zzzz",
|
|
"HH:mm:ss z",
|
|
"HH:mm:ss",
|
|
"HH:mm",
|
|
};
|
|
|
|
final String[] sharedAmPmMarkers = {
|
|
"AM",
|
|
"PM",
|
|
};
|
|
|
|
final String[] sharedJavaTimeDatePatterns = {
|
|
"G y MMMM d, EEEE",
|
|
"G y MMMM d",
|
|
"G y MMM d",
|
|
"GGGGG y-MM-dd",
|
|
};
|
|
|
|
final String[] sharedJavaTimeLongEras = {
|
|
"",
|
|
"Meiji",
|
|
"Taisho",
|
|
"Showa",
|
|
"Heisei",
|
|
"Reiwa",
|
|
};
|
|
|
|
final String[] sharedShortEras = {
|
|
"Before R.O.C.",
|
|
"R.O.C.",
|
|
};
|
|
|
|
final String[] sharedMonthNames = {
|
|
"Jan",
|
|
"Feb",
|
|
"Mar",
|
|
"Apr",
|
|
"May",
|
|
"Jun",
|
|
"Jul",
|
|
"Aug",
|
|
"Sep",
|
|
"Oct",
|
|
"Nov",
|
|
"Dec",
|
|
"",
|
|
};
|
|
|
|
return new Object[][] {
|
|
{ "QuarterAbbreviations",
|
|
sharedQuarterNames },
|
|
{ "QuarterNames",
|
|
sharedQuarterNames },
|
|
{ "QuarterNarrows",
|
|
sharedQuarterNarrows },
|
|
{ "field.dayperiod",
|
|
"Dayperiod" },
|
|
{ "field.era",
|
|
"Era" },
|
|
{ "field.hour",
|
|
"Hour" },
|
|
{ "field.minute",
|
|
"Minute" },
|
|
{ "field.month",
|
|
"Month" },
|
|
{ "field.second",
|
|
"Second" },
|
|
{ "field.week",
|
|
"Week" },
|
|
{ "field.weekday",
|
|
"Day of the Week" },
|
|
{ "field.year",
|
|
"Year" },
|
|
{ "field.zone",
|
|
"Zone" },
|
|
{ "islamic.DatePatterns",
|
|
sharedDatePatterns },
|
|
{ "islamic.DayAbbreviations",
|
|
sharedDayNames },
|
|
{ "islamic.DayNames",
|
|
sharedDayNames },
|
|
{ "islamic.DayNarrows",
|
|
sharedDayNarrows },
|
|
{ "islamic.Eras",
|
|
sharedEras },
|
|
{ "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.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.MonthNarrows",
|
|
sharedMonthNarrows },
|
|
{ "islamic.QuarterNames",
|
|
sharedQuarterNames },
|
|
{ "islamic.QuarterNarrows",
|
|
sharedQuarterNarrows },
|
|
{ "islamic.TimePatterns",
|
|
sharedTimePatterns },
|
|
{ "islamic.abbreviated.AmPmMarkers",
|
|
sharedAmPmMarkers },
|
|
{ "islamic.long.Eras",
|
|
sharedEras },
|
|
{ "islamic.narrow.Eras",
|
|
sharedEras },
|
|
{ "islamic.short.Eras",
|
|
sharedEras },
|
|
{ "java.time.buddhist.DatePatterns",
|
|
sharedJavaTimeDatePatterns },
|
|
{ "java.time.buddhist.long.Eras",
|
|
new String[] {
|
|
"BC",
|
|
"BE",
|
|
}
|
|
},
|
|
{ "java.time.buddhist.short.Eras",
|
|
new String[] {
|
|
"BC",
|
|
"B.E.",
|
|
}
|
|
},
|
|
{ "java.time.islamic.DatePatterns",
|
|
sharedJavaTimeDatePatterns },
|
|
{ "java.time.japanese.DatePatterns",
|
|
new String[] {
|
|
"G y MMMM d (EEEE)",
|
|
"G y MMMM d",
|
|
"G y MMM d",
|
|
"GGGGGy.MM.dd",
|
|
}
|
|
},
|
|
{ "java.time.japanese.long.Eras",
|
|
sharedJavaTimeLongEras },
|
|
{ "java.time.japanese.short.Eras",
|
|
sharedJavaTimeLongEras },
|
|
{ "java.time.long.Eras",
|
|
new String[] {
|
|
"BCE",
|
|
"CE",
|
|
}
|
|
},
|
|
{ "java.time.roc.DatePatterns",
|
|
sharedJavaTimeDatePatterns },
|
|
{ "java.time.short.Eras",
|
|
new String[] {
|
|
"BC",
|
|
"AD",
|
|
}
|
|
},
|
|
{ "roc.AmPmMarkers",
|
|
sharedAmPmMarkers },
|
|
{ "roc.DatePatterns",
|
|
sharedDatePatterns },
|
|
{ "roc.DayNames",
|
|
sharedDayNames },
|
|
{ "roc.DayNarrows",
|
|
sharedDayNarrows },
|
|
{ "roc.Eras",
|
|
sharedShortEras },
|
|
{ "roc.MonthAbbreviations",
|
|
sharedMonthNames },
|
|
{ "roc.MonthNames",
|
|
sharedMonthNames },
|
|
{ "roc.MonthNarrows",
|
|
sharedMonthNarrows },
|
|
{ "roc.QuarterNames",
|
|
sharedQuarterNames },
|
|
{ "roc.QuarterNarrows",
|
|
sharedQuarterNarrows },
|
|
{ "roc.TimePatterns",
|
|
sharedTimePatterns },
|
|
{ "roc.abbreviated.AmPmMarkers",
|
|
sharedAmPmMarkers },
|
|
{ "roc.long.Eras",
|
|
sharedShortEras },
|
|
{ "roc.narrow.AmPmMarkers",
|
|
sharedAmPmMarkers },
|
|
{ "roc.narrow.Eras",
|
|
sharedShortEras },
|
|
{ "roc.short.Eras",
|
|
sharedShortEras },
|
|
{ "timezone.gmtFormat",
|
|
"GMT{0}" },
|
|
{ "timezone.hourFormat",
|
|
"+HH:mm;-HH:mm" },
|
|
};
|
|
}
|
|
}
|