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