1/* 2 * Copyright (c) 2013, 2016, 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 68package sun.text.resources; 69 70import sun.util.resources.OpenListResourceBundle; 71 72public 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 }; 163 164 final String[] sharedShortEras = { 165 "Before R.O.C.", 166 "R.O.C.", 167 }; 168 169 final 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 }; 184 185 return new Object[][] { 186 { "QuarterAbbreviations", 187 sharedQuarterNames }, 188 { "QuarterNames", 189 sharedQuarterNames }, 190 { "QuarterNarrows", 191 sharedQuarterNarrows }, 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", 213 sharedDatePatterns }, 214 { "islamic.DayAbbreviations", 215 sharedDayNames }, 216 { "islamic.DayNames", 217 sharedDayNames }, 218 { "islamic.DayNarrows", 219 sharedDayNarrows }, 220 { "islamic.Eras", 221 sharedEras }, 222 { "islamic.MonthAbbreviations", 223 new 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", 240 new 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", 257 sharedMonthNarrows }, 258 { "islamic.QuarterNames", 259 sharedQuarterNames }, 260 { "islamic.QuarterNarrows", 261 sharedQuarterNarrows }, 262 { "islamic.TimePatterns", 263 sharedTimePatterns }, 264 { "islamic.abbreviated.AmPmMarkers", 265 sharedAmPmMarkers }, 266 { "islamic.long.Eras", 267 sharedEras }, 268 { "islamic.narrow.Eras", 269 sharedEras }, 270 { "islamic.short.Eras", 271 sharedEras }, 272 { "java.time.buddhist.DatePatterns", 273 sharedJavaTimeDatePatterns }, 274 { "java.time.buddhist.long.Eras", 275 new String[] { 276 "BC", 277 "BE", 278 } 279 }, 280 { "java.time.buddhist.short.Eras", 281 new String[] { 282 "BC", 283 "B.E.", 284 } 285 }, 286 { "java.time.islamic.DatePatterns", 287 sharedJavaTimeDatePatterns }, 288 { "java.time.japanese.DatePatterns", 289 new 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", 297 sharedJavaTimeLongEras }, 298 { "java.time.japanese.short.Eras", 299 sharedJavaTimeLongEras }, 300 { "java.time.long.Eras", 301 new String[] { 302 "BCE", 303 "CE", 304 } 305 }, 306 { "java.time.roc.DatePatterns", 307 sharedJavaTimeDatePatterns }, 308 { "java.time.short.Eras", 309 new String[] { 310 "BC", 311 "AD", 312 } 313 }, 314 { "roc.AmPmMarkers", 315 sharedAmPmMarkers }, 316 { "roc.DatePatterns", 317 sharedDatePatterns }, 318 { "roc.DayNames", 319 sharedDayNames }, 320 { "roc.DayNarrows", 321 sharedDayNarrows }, 322 { "roc.Eras", 323 sharedShortEras }, 324 { "roc.MonthAbbreviations", 325 sharedMonthNames }, 326 { "roc.MonthNames", 327 sharedMonthNames }, 328 { "roc.MonthNarrows", 329 sharedMonthNarrows }, 330 { "roc.QuarterNames", 331 sharedQuarterNames }, 332 { "roc.QuarterNarrows", 333 sharedQuarterNarrows }, 334 { "roc.TimePatterns", 335 sharedTimePatterns }, 336 { "roc.abbreviated.AmPmMarkers", 337 sharedAmPmMarkers }, 338 { "roc.long.Eras", 339 sharedShortEras }, 340 { "roc.narrow.AmPmMarkers", 341 sharedAmPmMarkers }, 342 { "roc.narrow.Eras", 343 sharedShortEras }, 344 { "roc.short.Eras", 345 sharedShortEras }, 346 { "timezone.gmtFormat", 347 "GMT{0}" }, 348 { "timezone.hourFormat", 349 "+HH:mm;-HH:mm" }, 350 }; 351 } 352} 353