01: /*
02: *
03: * @(#)DateFormatZoneData_en.java 1.24 06/10/10
04: *
05: * Portions Copyright 2000-2006 Sun Microsystems, Inc. All Rights
06: * Reserved. Use is subject to license terms.
07: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
08: *
09: * This program is free software; you can redistribute it and/or
10: * modify it under the terms of the GNU General Public License version
11: * 2 only, as published by the Free Software Foundation.
12: *
13: * This program is distributed in the hope that it will be useful, but
14: * WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: * General Public License version 2 for more details (a copy is
17: * included at /legal/license.txt).
18: *
19: * You should have received a copy of the GNU General Public License
20: * version 2 along with this work; if not, write to the Free Software
21: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22: * 02110-1301 USA
23: *
24: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
25: * Clara, CA 95054 or visit www.sun.com if you need additional
26: * information or have any questions.
27: */
28:
29: /*
30: * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
31: * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
32: *
33: * The original version of this source code and documentation
34: * is copyrighted and owned by Taligent, Inc., a wholly-owned
35: * subsidiary of IBM. These materials are provided under terms
36: * of a License Agreement between Taligent and Sun. This technology
37: * is protected by multiple US and International patents.
38: *
39: * This notice and attribution to Taligent may not be removed.
40: * Taligent is a registered trademark of Taligent, Inc.
41: *
42: */
43:
44: package sun.text.resources;
45:
46: /**
47: * Supplement package private date-time formatting zone data for DateFormat.
48: * DateFormatData used in DateFormat will be initialized by loading the data
49: * from LocaleElements and DateFormatZoneData resources. The zone data are
50: * represented with the following form:
51: * {ID, new String[] {ID, long zone string, short zone string, long daylight
52: * string, short daylight string, representative city of zone}}, where ID is
53: * NOT localized, but is used to look up the localized timezone data
54: * internally. Localizers can localize any zone strings except
55: * for the ID of the timezone.
56: * Also, localizer should not touch "localPatternChars" entry.
57: *
58: * @see Format
59: * @see DateFormatData
60: * @see LocaleElements
61: * @see SimpleDateFormat
62: * @see TimeZone
63: * @version 1.18 08/28/01
64: * @author Chen-Lieh Huang
65: * @author Alan Liu
66: */
67: // US DateFormatZoneData
68: //
69: public final class DateFormatZoneData_en extends DateFormatZoneData {
70: public Object[][] getContents() {
71: return new Object[][] {
72: // Zones should have unique names and abbreviations within this locale.
73: // Names and abbreviations may be identical if the corresponding zones
74: // really are identical. E.g.: America/Phoenix and America/Denver both
75: // use MST; these zones differ only in that America/Denver uses MDT as
76: // well.
77: //
78: // We list both short and long IDs. Short IDs come first so that they
79: // are chosen preferentially during parsing of zone names.
80: { "localPatternChars", "GyMdkHmsSEDFwWahKzZ" }, };
81: }
82: }
|