1 /* 2 * Copyright (c) 1996, 2013, 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 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved 28 * (C) Copyright IBM Corp. 1996 - 1999 - All Rights Reserved 29 * 30 * The original version of this source code and documentation 31 * is copyrighted and owned by Taligent, Inc., a wholly-owned 32 * subsidiary of IBM. These materials are provided under terms 33 * of a License Agreement between Taligent and Sun. This technology 34 * is protected by multiple US and International patents. 35 * 36 * This notice and attribution to Taligent may not be removed. 37 * Taligent is a registered trademark of Taligent, Inc. 38 * 39 */ 40 41 /* 42 * COPYRIGHT AND PERMISSION NOTICE 43 * 44 * Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under 45 * the Terms of Use in http://www.unicode.org/copyright.html. 46 * 47 * Permission is hereby granted, free of charge, to any person obtaining a copy 48 * of the Unicode data files and any associated documentation (the "Data 49 * Files") or Unicode software and any associated documentation (the 50 * "Software") to deal in the Data Files or Software without restriction, 51 * including without limitation the rights to use, copy, modify, merge, 52 * publish, distribute, and/or sell copies of the Data Files or Software, and 53 * to permit persons to whom the Data Files or Software are furnished to do so, 54 * provided that (a) the above copyright notice(s) and this permission notice 55 * appear with all copies of the Data Files or Software, (b) both the above 56 * copyright notice(s) and this permission notice appear in associated 57 * documentation, and (c) there is clear notice in each modified Data File or 58 * in the Software as well as in the documentation associated with the Data 59 * File(s) or Software that the data or software has been modified. 60 * 61 * THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 62 * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 63 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 64 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 65 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR 66 * CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 67 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 68 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 69 * OF THE DATA FILES OR SOFTWARE. 70 * 71 * Except as contained in this notice, the name of a copyright holder shall not 72 * be used in advertising or otherwise to promote the sale, use or other 73 * dealings in these Data Files or Software without prior written authorization 74 * of the copyright holder. 75 */ 76 77 package sun.text.resources.zh; 78 79 import sun.util.resources.ParallelListResourceBundle; 80 81 public class FormatData_zh_TW extends ParallelListResourceBundle { 82 /** 83 * Overrides ParallelListResourceBundle 84 */ 85 @Override 86 protected final Object[][] getContents() { 87 final String[] rocEras = { 88 "\u6c11\u570b\u524d", 89 "\u6c11\u570b", 90 }; 91 return new Object[][] { 92 { "Eras", 93 new String[] { // era strings 94 "\u897f\u5143\u524d", 95 "\u897f\u5143" 96 } 97 }, 98 { "standalone.MonthAbbreviations", 99 new String[] { 100 "1\u6708", 101 "2\u6708", 102 "3\u6708", 103 "4\u6708", 104 "5\u6708", 105 "6\u6708", 106 "7\u6708", 107 "8\u6708", 108 "9\u6708", 109 "10\u6708", 110 "11\u6708", 111 "12\u6708", 112 "", 113 } 114 }, 115 { "MonthNarrows", 116 new String[] { 117 "1", 118 "2", 119 "3", 120 "4", 121 "5", 122 "6", 123 "7", 124 "8", 125 "9", 126 "10", 127 "11", 128 "12", 129 "", 130 } 131 }, 132 { "NumberPatterns", 133 new String[] { 134 "#,##0.###;-#,##0.###", // decimal pattern 135 "\u00A4#,##0.00;-\u00A4#,##0.00", // currency pattern 136 "#,##0%" // percent pattern 137 } 138 }, 139 { "TimePatterns", 140 new String[] { 141 "ahh'\u6642'mm'\u5206'ss'\u79d2' z", // full time pattern 142 "ahh'\u6642'mm'\u5206'ss'\u79d2'", // long time pattern 143 "a hh:mm:ss", // medium time pattern 144 "a h:mm", // short time pattern 145 } 146 }, 147 { "DatePatterns", 148 new String[] { 149 "yyyy'\u5e74'M'\u6708'd'\u65e5' EEEE", // full date pattern 150 "yyyy'\u5e74'M'\u6708'd'\u65e5'", // long date pattern 151 "yyyy/M/d", // medium date pattern 152 "yyyy/M/d", // short date pattern 153 } 154 }, 155 { "DateTimePatterns", 156 new String[] { 157 "{1} {0}" // date-time pattern 158 } 159 }, 160 { "buddhist.DatePatterns", 161 new String[] { 162 "GGGGy\u5e74M\u6708d\u65e5EEEE", 163 "GGGGy\u5e74M\u6708d\u65e5", 164 "GGGGy/M/d", 165 "GGGGy/M/d", 166 } 167 }, 168 { "japanese.DatePatterns", 169 new String[] { 170 "GGGGy\u5e74M\u6708d\u65e5EEEE", 171 "GGGGy\u5e74M\u6708d\u65e5", 172 "GGGGy/M/d", 173 "GGGGy/M/d", 174 } 175 }, 176 { "DateTimePatternChars", "GyMdkHmsSEDFwWahKzZ" }, 177 }; 178 } 179 }