--- old/src/jdk.localedata/share/classes/sun/text/resources/zh/JavaTimeSupplementary_zh.java 2015-06-04 14:17:08.268411851 -0700 +++ new/src/jdk.localedata/share/classes/sun/text/resources/zh/JavaTimeSupplementary_zh.java 2015-06-04 14:17:07.956406713 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2015 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 @@ -26,37 +26,41 @@ /* * COPYRIGHT AND PERMISSION NOTICE * - * Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under - * the Terms of Use in http://www.unicode.org/copyright.html. + * Copyright (C) 1991-2015 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) the above copyright notice(s) and this permission notice - * appear with all copies of the Data Files or Software, (b) both the above - * copyright notice(s) and this 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, + * 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. + * 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. + * 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. @@ -68,169 +72,388 @@ public class JavaTimeSupplementary_zh extends OpenListResourceBundle { @Override protected final Object[][] getContents() { + final String[] rocMonthAbbreviations = { + "1\u6708", + "2\u6708", + "3\u6708", + "4\u6708", + "5\u6708", + "6\u6708", + "7\u6708", + "8\u6708", + "9\u6708", + "10\u6708", + "11\u6708", + "12\u6708", + "", + }; + final String[] rocMonthNames = { + "\u4e00\u6708", + "\u4e8c\u6708", + "\u4e09\u6708", + "\u56db\u6708", + "\u4e94\u6708", + "\u516d\u6708", + "\u4e03\u6708", + "\u516b\u6708", + "\u4e5d\u6708", + "\u5341\u6708", + "\u5341\u4e00\u6708", + "\u5341\u4e8c\u6708", + "", + }; + final String[] javatimebuddhistlongEras = { + "BC", + "\u4f5b\u5386", + }; + final String[] javatimelongEras = { + "\u516c\u5143\u524d", + "\u516c\u5143", + }; return new Object[][] { - { "QuarterAbbreviations", - new String[] { - "1\u5b63", - "2\u5b63", - "3\u5b63", - "4\u5b63", - } - }, - { "QuarterNames", - new String[] { - "\u7b2c1\u5b63\u5ea6", - "\u7b2c2\u5b63\u5ea6", - "\u7b2c3\u5b63\u5ea6", - "\u7b2c4\u5b63\u5ea6", - } - }, - { "QuarterNarrows", - new String[] { - "1", - "2", - "3", - "4", - } - }, - { "calendarname.buddhist", + { "QuarterAbbreviations", + new String[] { + "1\u5b63\u5ea6", + "2\u5b63\u5ea6", + "3\u5b63\u5ea6", + "4\u5b63\u5ea6", + } + }, + { "QuarterNames", + new String[] { + "\u7b2c\u4e00\u5b63\u5ea6", + "\u7b2c\u4e8c\u5b63\u5ea6", + "\u7b2c\u4e09\u5b63\u5ea6", + "\u7b2c\u56db\u5b63\u5ea6", + } + }, + { "calendarname.buddhist", "\u4f5b\u6559\u65e5\u5386" }, - { "calendarname.gregorian", + { "calendarname.gregorian", "\u516c\u5386" }, - { "calendarname.gregory", + { "calendarname.gregory", "\u516c\u5386" }, - { "calendarname.islamic", + { "calendarname.islamic", "\u4f0a\u65af\u5170\u65e5\u5386" }, - { "calendarname.islamic-civil", - "\u4f0a\u65af\u5170\u5e0c\u5409\u6765\u5386" }, - { "calendarname.islamicc", - "\u4f0a\u65af\u5170\u5e0c\u5409\u6765\u5386" }, - { "calendarname.japanese", + { "calendarname.islamic-civil", + "\u4f0a\u65af\u5170\u5e0c\u5409\u6765\u65e5\u5386" }, + { "calendarname.japanese", "\u65e5\u672c\u65e5\u5386" }, - { "calendarname.roc", + { "calendarname.roc", "\u6c11\u56fd\u65e5\u5386" }, - { "field.dayperiod", + { "field.dayperiod", "\u4e0a\u5348/\u4e0b\u5348" }, - { "field.era", - "\u65f6\u671f" }, - { "field.hour", + { "field.era", + "\u7eaa\u5143" }, + { "field.hour", "\u5c0f\u65f6" }, - { "field.minute", + { "field.minute", "\u5206\u949f" }, - { "field.month", + { "field.month", "\u6708" }, - { "field.second", + { "field.second", "\u79d2\u949f" }, - { "field.week", + { "field.week", "\u5468" }, - { "field.weekday", - "\u5468\u5929" }, - { "field.year", + { "field.weekday", + "\u5de5\u4f5c\u65e5" }, + { "field.year", "\u5e74" }, - { "field.zone", - "\u533a\u57df" }, - { "islamic.DatePatterns", - new String[] { + { "field.zone", + "\u65f6\u533a" }, + { "islamic.AmPmMarkers", + new String[] { + "\u4e0a\u5348", + "\u4e0b\u5348", + } + }, + { "islamic.DatePatterns", + new String[] { "GGGGy\u5e74M\u6708d\u65e5EEEE", "GGGGy\u5e74M\u6708d\u65e5", "GGGGy\u5e74M\u6708d\u65e5", - "GGGGyy-MM-dd", - } - }, - { "islamic.Eras", - new String[] { + "GGGGy/M/d", + } + }, + { "islamic.DayAbbreviations", + new String[] { + "\u5468\u65e5", + "\u5468\u4e00", + "\u5468\u4e8c", + "\u5468\u4e09", + "\u5468\u56db", + "\u5468\u4e94", + "\u5468\u516d", + } + }, + { "islamic.DayNames", + new String[] { + "\u661f\u671f\u65e5", + "\u661f\u671f\u4e00", + "\u661f\u671f\u4e8c", + "\u661f\u671f\u4e09", + "\u661f\u671f\u56db", + "\u661f\u671f\u4e94", + "\u661f\u671f\u516d", + } + }, + { "islamic.DayNarrows", + new String[] { + "\u65e5", + "\u4e00", + "\u4e8c", + "\u4e09", + "\u56db", + "\u4e94", + "\u516d", + } + }, + { "islamic.Eras", + new String[] { + "", + "\u56de\u5386", + } + }, + { "islamic.MonthAbbreviations", + rocMonthAbbreviations }, + { "islamic.MonthNames", + rocMonthNames }, + { "islamic.QuarterAbbreviations", + new String[] { + "1\u5b63\u5ea6", + "2\u5b63\u5ea6", + "3\u5b63\u5ea6", + "4\u5b63\u5ea6", + } + }, + { "islamic.QuarterNames", + new String[] { + "\u7b2c\u4e00\u5b63\u5ea6", + "\u7b2c\u4e8c\u5b63\u5ea6", + "\u7b2c\u4e09\u5b63\u5ea6", + "\u7b2c\u56db\u5b63\u5ea6", + } + }, + { "islamic.QuarterNarrows", + new String[] { + "1", + "2", + "3", + "4", + } + }, + { "islamic.TimePatterns", + new String[] { + "zzzz ah:mm:ss", + "z ah:mm:ss", + "ah:mm:ss", + "ah:mm", + } + }, + { "islamic.long.Eras", + new String[] { + "", + "\u56de\u5386", + } + }, + { "islamic.narrow.AmPmMarkers", + new String[] { + "\u4e0a\u5348", + "\u4e0b\u5348", + } + }, + { "islamic.narrow.Eras", + new String[] { "", "\u56de\u5386", - } - }, - { "islamic.short.Eras", - new String[] { + } + }, + { "islamic.short.Eras", + new String[] { "", "\u56de\u5386", - } - }, - { "java.time.buddhist.DatePatterns", - new String[] { + } + }, + { "java.time.buddhist.DatePatterns", + new String[] { "Gy\u5e74M\u6708d\u65e5EEEE", "Gy\u5e74M\u6708d\u65e5", - "Gyyyy-M-d", + "Gy\u5e74M\u6708d\u65e5", "Gy-M-d", - } - }, - { "java.time.buddhist.short.Eras", - new String[] { - "BC", - "\u4f5b\u5386", - } - }, - { "java.time.islamic.DatePatterns", - new String[] { + } + }, + { "java.time.buddhist.long.Eras", + javatimebuddhistlongEras }, + { "java.time.buddhist.short.Eras", + javatimebuddhistlongEras }, + { "java.time.islamic.DatePatterns", + new String[] { "Gy\u5e74M\u6708d\u65e5EEEE", "Gy\u5e74M\u6708d\u65e5", "Gy\u5e74M\u6708d\u65e5", - "Gyy-MM-dd", - } - }, - { "java.time.japanese.DatePatterns", - new String[] { + "Gy/M/d", + } + }, + { "java.time.japanese.DatePatterns", + new String[] { "Gy\u5e74M\u6708d\u65e5EEEE", "Gy\u5e74M\u6708d\u65e5", "Gy\u5e74M\u6708d\u65e5", "Gyy-MM-dd", - } - }, - { "java.time.japanese.long.Eras", - new String[] { + } + }, + { "java.time.japanese.long.Eras", + new String[] { "\u516c\u5143", "\u660e\u6cbb", "\u5927\u6b63", "\u662d\u548c", "\u5e73\u6210", - } - }, - { "java.time.japanese.short.Eras", - new String[] { + } + }, + { "java.time.japanese.short.Eras", + new String[] { "\u516c\u5143", "\u660e\u6cbb", "\u5927\u6b63", "\u662d\u548c", "\u5e73\u6210", - } - }, - { "java.time.roc.DatePatterns", - new String[] { + } + }, + { "java.time.long.Eras", + javatimelongEras }, + { "java.time.roc.DatePatterns", + new String[] { "Gy\u5e74M\u6708d\u65e5EEEE", "Gy\u5e74M\u6708d\u65e5", - "Gy-M-d", - "Gy-M-d", - } - }, - { "java.time.short.Eras", - new String[] { - "\u516c\u5143\u524d", - "\u516c\u5143", - } - }, - { "roc.DatePatterns", - new String[] { + "Gy\u5e74M\u6708d\u65e5", + "Gyy/M/d", + } + }, + { "java.time.short.Eras", + javatimelongEras }, + { "roc.AmPmMarkers", + new String[] { + "\u4e0a\u5348", + "\u4e0b\u5348", + } + }, + { "roc.DatePatterns", + new String[] { "GGGGy\u5e74M\u6708d\u65e5EEEE", "GGGGy\u5e74M\u6708d\u65e5", - "GGGGy-M-d", - "GGGGy-M-d", - } - }, - { "roc.Eras", - new String[] { + "GGGGy\u5e74M\u6708d\u65e5", + "GGGGyy/M/d", + } + }, + { "roc.DayAbbreviations", + new String[] { + "\u5468\u65e5", + "\u5468\u4e00", + "\u5468\u4e8c", + "\u5468\u4e09", + "\u5468\u56db", + "\u5468\u4e94", + "\u5468\u516d", + } + }, + { "roc.DayNames", + new String[] { + "\u661f\u671f\u65e5", + "\u661f\u671f\u4e00", + "\u661f\u671f\u4e8c", + "\u661f\u671f\u4e09", + "\u661f\u671f\u56db", + "\u661f\u671f\u4e94", + "\u661f\u671f\u516d", + } + }, + { "roc.DayNarrows", + new String[] { + "\u65e5", + "\u4e00", + "\u4e8c", + "\u4e09", + "\u56db", + "\u4e94", + "\u516d", + } + }, + { "roc.Eras", + new String[] { + "\u6c11\u56fd\u524d", + "\u6c11\u56fd", + } + }, + { "roc.MonthAbbreviations", + rocMonthAbbreviations }, + { "roc.MonthNames", + rocMonthNames }, + { "roc.MonthNarrows", + new String[] { + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12", + "", + } + }, + { "roc.QuarterAbbreviations", + new String[] { + "1\u5b63\u5ea6", + "2\u5b63\u5ea6", + "3\u5b63\u5ea6", + "4\u5b63\u5ea6", + } + }, + { "roc.QuarterNames", + new String[] { + "\u7b2c\u4e00\u5b63\u5ea6", + "\u7b2c\u4e8c\u5b63\u5ea6", + "\u7b2c\u4e09\u5b63\u5ea6", + "\u7b2c\u56db\u5b63\u5ea6", + } + }, + { "roc.TimePatterns", + new String[] { + "zzzz ah:mm:ss", + "z ah:mm:ss", + "ah:mm:ss", + "ah:mm", + } + }, + { "roc.long.Eras", + new String[] { + "\u6c11\u56fd\u524d", + "\u6c11\u56fd", + } + }, + { "roc.narrow.AmPmMarkers", + new String[] { + "\u4e0a\u5348", + "\u4e0b\u5348", + } + }, + { "roc.narrow.Eras", + new String[] { "\u6c11\u56fd\u524d", "\u6c11\u56fd", - } - }, - { "roc.short.Eras", - new String[] { + } + }, + { "roc.short.Eras", + new String[] { "\u6c11\u56fd\u524d", "\u6c11\u56fd", - } - }, + } + }, }; } -} +}