dateformatzonedata_en.java

来自「This is a resource based on j2me embedde」· Java 代码 · 共 85 行

JAVA
85
字号
/* *  * @(#)DateFormatZoneData_en.java	1.24 06/10/10 *  * Portions Copyright  2000-2008 Sun Microsystems, Inc. All Rights * Reserved.  Use is subject to license terms. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER *  * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 only, as published by the Free Software Foundation. *  * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License version 2 for more details (a copy is * included at /legal/license.txt). *  * You should have received a copy of the GNU General Public License * version 2 along with this work; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA *  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa * Clara, CA 95054 or visit www.sun.com if you need additional * information or have any questions. *//* * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved * * The original version of this source code and documentation * is copyrighted and owned by Taligent, Inc., a wholly-owned * subsidiary of IBM. These materials are provided under terms * of a License Agreement between Taligent and Sun. This technology * is protected by multiple US and International patents. * * This notice and attribution to Taligent may not be removed. * Taligent is a registered trademark of Taligent, Inc. * */package sun.text.resources;/** * Supplement package private date-time formatting zone data for DateFormat. * DateFormatData used in DateFormat will be initialized by loading the data * from LocaleElements and DateFormatZoneData resources. The zone data are * represented with the following form: * {ID, new String[] {ID, long zone string, short zone string, long daylight  * string, short daylight string, representative city of zone}}, where ID is * NOT localized, but is used to look up the localized timezone data * internally. Localizers can localize any zone strings except * for the ID of the timezone. * Also, localizer should not touch "localPatternChars" entry. * * @see          Format * @see          DateFormatData * @see          LocaleElements * @see          SimpleDateFormat * @see          TimeZone * @version      1.18 08/28/01 * @author       Chen-Lieh Huang * @author       Alan Liu *///  US DateFormatZoneData//public final class DateFormatZoneData_en extends DateFormatZoneData {    public Object[][] getContents() {        return new Object[][] {	    // Zones should have unique names and abbreviations within this locale.	    // Names and abbreviations may be identical if the corresponding zones	    // really are identical.  E.g.: America/Phoenix and America/Denver both	    // use MST; these zones differ only in that America/Denver uses MDT as	    // well.	    //	    // We list both short and long IDs.  Short IDs come first so that they	    // are chosen preferentially during parsing of zone names.            {"localPatternChars", "GyMdkHmsSEDFwWahKzZ"},        };    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?