Path: blob/master/src/java.base/share/classes/sun/text/resources/JavaTimeSupplementary.java
41159 views
/*1* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425/*26* COPYRIGHT AND PERMISSION NOTICE27*28* Copyright (C) 1991-2016 Unicode, Inc. All rights reserved.29* Distributed under the Terms of Use in30* http://www.unicode.org/copyright.html.31*32* Permission is hereby granted, free of charge, to any person obtaining33* a copy of the Unicode data files and any associated documentation34* (the "Data Files") or Unicode software and any associated documentation35* (the "Software") to deal in the Data Files or Software36* without restriction, including without limitation the rights to use,37* copy, modify, merge, publish, distribute, and/or sell copies of38* the Data Files or Software, and to permit persons to whom the Data Files39* or Software are furnished to do so, provided that40* (a) this copyright and permission notice appear with all copies41* of the Data Files or Software,42* (b) this copyright and permission notice appear in associated43* documentation, and44* (c) there is clear notice in each modified Data File or in the Software45* as well as in the documentation associated with the Data File(s) or46* Software that the data or software has been modified.47*48* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF49* ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE50* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND51* NONINFRINGEMENT OF THIRD PARTY RIGHTS.52* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS53* NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL54* DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,55* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER56* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR57* PERFORMANCE OF THE DATA FILES OR SOFTWARE.58*59* Except as contained in this notice, the name of a copyright holder60* shall not be used in advertising or otherwise to promote the sale,61* use or other dealings in these Data Files or Software without prior62* written authorization of the copyright holder.63*/6465// Note: this file has been generated by a tool.6667package sun.text.resources;6869import sun.util.resources.OpenListResourceBundle;7071public class JavaTimeSupplementary extends OpenListResourceBundle {72@Override73protected final Object[][] getContents() {74final String[] sharedQuarterNames = {75"Q1",76"Q2",77"Q3",78"Q4",79};8081final String[] sharedQuarterNarrows = {82"1",83"2",84"3",85"4",86};8788final String[] sharedDatePatterns = {89"GGGG y MMMM d, EEEE",90"GGGG y MMMM d",91"GGGG y MMM d",92"G y-MM-dd",93};9495final String[] sharedDayNames = {96"Sun",97"Mon",98"Tue",99"Wed",100"Thu",101"Fri",102"Sat",103};104105final String[] sharedDayNarrows = {106"S",107"M",108"T",109"W",110"T",111"F",112"S",113};114115final String[] sharedEras = {116"",117"AH",118};119120final String[] sharedMonthNarrows = {121"1",122"2",123"3",124"4",125"5",126"6",127"7",128"8",129"9",130"10",131"11",132"12",133"",134};135136final String[] sharedTimePatterns = {137"HH:mm:ss zzzz",138"HH:mm:ss z",139"HH:mm:ss",140"HH:mm",141};142143final String[] sharedAmPmMarkers = {144"AM",145"PM",146};147148final String[] sharedJavaTimeDatePatterns = {149"G y MMMM d, EEEE",150"G y MMMM d",151"G y MMM d",152"GGGGG y-MM-dd",153};154155final String[] sharedJavaTimeLongEras = {156"",157"Meiji",158"Taisho",159"Showa",160"Heisei",161"Reiwa",162};163164final String[] sharedShortEras = {165"Before R.O.C.",166"R.O.C.",167};168169final String[] sharedMonthNames = {170"Jan",171"Feb",172"Mar",173"Apr",174"May",175"Jun",176"Jul",177"Aug",178"Sep",179"Oct",180"Nov",181"Dec",182"",183};184185return new Object[][] {186{ "QuarterAbbreviations",187sharedQuarterNames },188{ "QuarterNames",189sharedQuarterNames },190{ "QuarterNarrows",191sharedQuarterNarrows },192{ "field.dayperiod",193"Dayperiod" },194{ "field.era",195"Era" },196{ "field.hour",197"Hour" },198{ "field.minute",199"Minute" },200{ "field.month",201"Month" },202{ "field.second",203"Second" },204{ "field.week",205"Week" },206{ "field.weekday",207"Day of the Week" },208{ "field.year",209"Year" },210{ "field.zone",211"Zone" },212{ "islamic.DatePatterns",213sharedDatePatterns },214{ "islamic.DayAbbreviations",215sharedDayNames },216{ "islamic.DayNames",217sharedDayNames },218{ "islamic.DayNarrows",219sharedDayNarrows },220{ "islamic.Eras",221sharedEras },222{ "islamic.MonthAbbreviations",223new String[] {224"Muh.",225"Saf.",226"Rab. I",227"Rab. II",228"Jum. I",229"Jum. II",230"Raj.",231"Sha.",232"Ram.",233"Shaw.",234"Dhu\u02bbl-Q.",235"Dhu\u02bbl-H.",236"",237}238},239{ "islamic.MonthNames",240new String[] {241"Muharram",242"Safar",243"Rabi\u02bb I",244"Rabi\u02bb II",245"Jumada I",246"Jumada II",247"Rajab",248"Sha\u02bbban",249"Ramadan",250"Shawwal",251"Dhu\u02bbl-Qi\u02bbdah",252"Dhu\u02bbl-Hijjah",253"",254}255},256{ "islamic.MonthNarrows",257sharedMonthNarrows },258{ "islamic.QuarterNames",259sharedQuarterNames },260{ "islamic.QuarterNarrows",261sharedQuarterNarrows },262{ "islamic.TimePatterns",263sharedTimePatterns },264{ "islamic.abbreviated.AmPmMarkers",265sharedAmPmMarkers },266{ "islamic.long.Eras",267sharedEras },268{ "islamic.narrow.Eras",269sharedEras },270{ "islamic.short.Eras",271sharedEras },272{ "java.time.buddhist.DatePatterns",273sharedJavaTimeDatePatterns },274{ "java.time.buddhist.long.Eras",275new String[] {276"BC",277"BE",278}279},280{ "java.time.buddhist.short.Eras",281new String[] {282"BC",283"B.E.",284}285},286{ "java.time.islamic.DatePatterns",287sharedJavaTimeDatePatterns },288{ "java.time.japanese.DatePatterns",289new String[] {290"G y MMMM d (EEEE)",291"G y MMMM d",292"G y MMM d",293"GGGGGy.MM.dd",294}295},296{ "java.time.japanese.long.Eras",297sharedJavaTimeLongEras },298{ "java.time.japanese.short.Eras",299sharedJavaTimeLongEras },300{ "java.time.long.Eras",301new String[] {302"BCE",303"CE",304}305},306{ "java.time.roc.DatePatterns",307sharedJavaTimeDatePatterns },308{ "java.time.short.Eras",309new String[] {310"BC",311"AD",312}313},314{ "roc.AmPmMarkers",315sharedAmPmMarkers },316{ "roc.DatePatterns",317sharedDatePatterns },318{ "roc.DayNames",319sharedDayNames },320{ "roc.DayNarrows",321sharedDayNarrows },322{ "roc.Eras",323sharedShortEras },324{ "roc.MonthAbbreviations",325sharedMonthNames },326{ "roc.MonthNames",327sharedMonthNames },328{ "roc.MonthNarrows",329sharedMonthNarrows },330{ "roc.QuarterNames",331sharedQuarterNames },332{ "roc.QuarterNarrows",333sharedQuarterNarrows },334{ "roc.TimePatterns",335sharedTimePatterns },336{ "roc.abbreviated.AmPmMarkers",337sharedAmPmMarkers },338{ "roc.long.Eras",339sharedShortEras },340{ "roc.narrow.AmPmMarkers",341sharedAmPmMarkers },342{ "roc.narrow.Eras",343sharedShortEras },344{ "roc.short.Eras",345sharedShortEras },346{ "timezone.gmtFormat",347"GMT{0}" },348{ "timezone.hourFormat",349"+HH:mm;-HH:mm" },350};351}352}353354355