jdk/src/share/classes/sun/text/resources/is/FormatData_is.java
author okutsu
Mon, 10 Dec 2012 10:52:11 +0900
changeset 14765 0987999ed367
parent 13583 dc0017b1a452
child 15281 dd43cb9be0e1
permissions -rw-r--r--
8000983: Support narrow display names for calendar fields 8003267: Support generic time zone names in TimeZoneNameProvider (SPI) Reviewed-by: naoto
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
     2
 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
 * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 * The original version of this source code and documentation
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 * is copyrighted and owned by Taligent, Inc., a wholly-owned
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 * subsidiary of IBM. These materials are provided under terms
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * of a License Agreement between Taligent and Sun. This technology
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * is protected by multiple US and International patents.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * This notice and attribution to Taligent may not be removed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * Taligent is a registered trademark of Taligent, Inc.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
    41
package sun.text.resources.is;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
import java.util.ListResourceBundle;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
public class FormatData_is extends ListResourceBundle {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
     * Overrides ListResourceBundle
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
    protected final Object[][] getContents() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
        return new Object[][] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
            { "MonthNames",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
                    "jan\u00faar", // january
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
                    "febr\u00faar", // february
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
                    "mars", // march
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
                    "apr\u00edl", // april
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
                    "ma\u00ed", // may
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
                    "j\u00fan\u00ed", // june
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
                    "j\u00fal\u00ed", // july
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
                    "\u00e1g\u00fast", // august
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
                    "september", // september
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
                    "okt\u00f3ber", // october
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
                    "n\u00f3vember", // november
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
                    "desember", // december
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
                    "" // month 13 if applicable
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
            },
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
            { "MonthAbbreviations",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
                    "jan.", // abb january
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
                    "feb.", // abb february
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
                    "mar.", // abb march
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
                    "apr.", // abb april
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
                    "ma\u00ed", // abb may
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
                    "j\u00fan.", // abb june
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
                    "j\u00fal.", // abb july
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
                    "\u00e1g\u00fa.", // abb august
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
                    "sep.", // abb september
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
                    "okt.", // abb october
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
                    "n\u00f3v.", // abb november
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
                    "des.", // abb december
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
                    "" // abb month 13 if applicable
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
            },
14765
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    85
            { "standalone.MonthNarrows",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    86
                new String[] {
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    87
                    "j",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    88
                    "f",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    89
                    "m",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    90
                    "a",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    91
                    "m",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    92
                    "j",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    93
                    "j",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    94
                    "\u00e1",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    95
                    "s",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    96
                    "o",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    97
                    "n",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    98
                    "d",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
    99
                    "",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   100
                }
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   101
            },
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
            { "DayNames",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
                    "sunnudagur", // Sunday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
                    "m\u00e1nudagur", // Monday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
                    "\u00feri\u00f0judagur", // Tuesday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
                    "mi\u00f0vikudagur", // Wednesday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
                    "fimmtudagur", // Thursday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
                    "f\u00f6studagur", // Friday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
                    "laugardagur" // Saturday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
            },
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
            { "DayAbbreviations",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
                    "sun.", // abb Sunday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
                    "m\u00e1n.", // abb Monday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
                    "\u00feri.", // abb Tuesday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
                    "mi\u00f0.", // abb Wednesday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
                    "fim.", // abb Thursday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
                    "f\u00f6s.", // abb Friday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
                    "lau." // abb Saturday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
            },
14765
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   124
            { "DayNarrows",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   125
                new String[] {
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   126
                    "S",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   127
                    "M",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   128
                    "\u00de",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   129
                    "M",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   130
                    "F",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   131
                    "F",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   132
                    "L",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   133
                }
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   134
            },
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   135
            { "standalone.DayNarrows",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   136
                new String[] {
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   137
                    "s",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   138
                    "m",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   139
                    "\u00fe",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   140
                    "m",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   141
                    "f",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   142
                    "f",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   143
                    "l",
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   144
                }
0987999ed367 8000983: Support narrow display names for calendar fields
okutsu
parents: 13583
diff changeset
   145
            },
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
            { "NumberElements",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
                    ",", // decimal separator
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
                    ".", // group (thousands) separator
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
                    ";", // list separator
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
                    "%", // percent sign
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
                    "0", // native 0 digit
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
                    "#", // pattern digit
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
                    "-", // minus sign
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
                    "E", // exponential
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
                    "\u2030", // per mille
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
                    "\u221e", // infinity
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
                    "\ufffd" // NaN
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
            },
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   161
            { "TimePatterns",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
                    "HH:mm:ss z", // full time pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
                    "HH:mm:ss z", // long time pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
                    "HH:mm:ss", // medium time pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
                    "HH:mm", // short time pattern
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   167
                }
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   168
            },
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   169
            { "DatePatterns",
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   170
                new String[] {
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
                    "d. MMMM yyyy", // full date pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
                    "d. MMMM yyyy", // long date pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
                    "d.M.yyyy", // medium date pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
                    "d.M.yyyy", // short date pattern
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   175
                }
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   176
            },
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   177
            { "DateTimePatterns",
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   178
                new String[] {
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
                    "{1} {0}" // date-time pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
            },
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
            { "DateTimePatternChars", "GyMdkHmsSEDFwWahKzZ" },
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
        };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
}