1 /*
   2  * Copyright (c) 1997, 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 - 1998 - 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.sv;
  78 
  79 import sun.util.resources.ParallelListResourceBundle;
  80 
  81 public class FormatData_sv extends ParallelListResourceBundle {
  82     /**
  83      * Overrides ParallelListResourceBundle
  84      */
  85     @Override
  86     protected final Object[][] getContents() {
  87         final String[] rocEras = {
  88             "f\u00f6re R.K.",
  89             "R.K.",
  90         };
  91         return new Object[][] {
  92             { "MonthNames",
  93                 new String[] {
  94                     "januari", // january
  95                     "februari", // february
  96                     "mars", // march
  97                     "april", // april
  98                     "maj", // may
  99                     "juni", // june
 100                     "juli", // july
 101                     "augusti", // august
 102                     "september", // september
 103                     "oktober", // october
 104                     "november", // november
 105                     "december", // december
 106                     "" // month 13 if applicable
 107                 }
 108             },
 109             { "MonthNarrows",
 110                 new String[] {
 111                     "J",
 112                     "F",
 113                     "M",
 114                     "A",
 115                     "M",
 116                     "J",
 117                     "J",
 118                     "A",
 119                     "S",
 120                     "O",
 121                     "N",
 122                     "D",
 123                     "",
 124                 }
 125             },
 126             { "MonthAbbreviations",
 127                 new String[] {
 128                     "jan", // abb january
 129                     "feb", // abb february
 130                     "mar", // abb march
 131                     "apr", // abb april
 132                     "maj", // abb may
 133                     "jun", // abb june
 134                     "jul", // abb july
 135                     "aug", // abb august
 136                     "sep", // abb september
 137                     "okt", // abb october
 138                     "nov", // abb november
 139                     "dec", // abb december
 140                     "" // abb month 13 if applicable
 141                 }
 142             },
 143             { "standalone.MonthAbbreviations",
 144                 new String[] {
 145                     "jan",
 146                     "feb",
 147                     "mar",
 148                     "apr",
 149                     "maj",
 150                     "jun",
 151                     "jul",
 152                     "aug",
 153                     "sep",
 154                     "okt",
 155                     "nov",
 156                     "dec",
 157                     "",
 158                 }
 159             },
 160             { "standalone.MonthNarrows",
 161                 new String[] {
 162                     "J",
 163                     "F",
 164                     "M",
 165                     "A",
 166                     "M",
 167                     "J",
 168                     "J",
 169                     "A",
 170                     "S",
 171                     "O",
 172                     "N",
 173                     "D",
 174                     "",
 175                 }
 176             },
 177             { "DayNames",
 178                 new String[] {
 179                     "s\u00f6ndag", // Sunday
 180                     "m\u00e5ndag", // Monday
 181                     "tisdag", // Tuesday
 182                     "onsdag", // Wednesday
 183                     "torsdag", // Thursday
 184                     "fredag", // Friday
 185                     "l\u00f6rdag" // Saturday
 186                 }
 187             },
 188             { "DayAbbreviations",
 189                 new String[] {
 190                     "s\u00f6", // abb Sunday
 191                     "m\u00e5", // abb Monday
 192                     "ti", // abb Tuesday
 193                     "on", // abb Wednesday
 194                     "to", // abb Thursday
 195                     "fr", // abb Friday
 196                     "l\u00f6" // abb Saturday
 197                 }
 198             },
 199             { "standalone.DayAbbreviations",
 200                 new String[] {
 201                     "s\u00f6n",
 202                     "m\u00e5n",
 203                     "tis",
 204                     "ons",
 205                     "tor",
 206                     "fre",
 207                     "l\u00f6r",
 208                 }
 209             },
 210             { "DayNarrows",
 211                 new String[] {
 212                     "S",
 213                     "M",
 214                     "T",
 215                     "O",
 216                     "T",
 217                     "F",
 218                     "L",
 219                 }
 220             },
 221             { "standalone.DayNames",
 222                 new String[] {
 223                     "s\u00f6ndag",
 224                     "m\u00e5ndag",
 225                     "tisdag",
 226                     "onsdag",
 227                     "torsdag",
 228                     "fredag",
 229                     "l\u00f6rdag",
 230                 }
 231             },
 232             { "standalone.DayNarrows",
 233                 new String[] {
 234                     "S",
 235                     "M",
 236                     "T",
 237                     "O",
 238                     "T",
 239                     "F",
 240                     "L",
 241                 }
 242             },
 243             { "Eras",
 244                 new String[] {
 245                     "f\u00f6re Kristus",
 246                     "efter Kristus",
 247                 }
 248             },
 249             { "short.Eras",
 250                 new String[] {
 251                     "f.Kr.",
 252                     "e.Kr.",
 253                 }
 254             },
 255             { "narrow.Eras",
 256                 new String[] {
 257                     "f.Kr.",
 258                     "e.Kr.",
 259                 }
 260             },
 261             { "AmPmMarkers",
 262                 new String[] {
 263                     "fm", // am marker
 264                     "em" // pm marker
 265                 }
 266             },
 267             { "narrow.AmPmMarkers",
 268                 new String[] {
 269                     "f",
 270                     "e",
 271                 }
 272             },
 273             { "NumberElements",
 274                 new String[] {
 275                     ",", // decimal separator
 276                     "\u00a0", // group (thousands) separator
 277                     ";", // list separator
 278                     "%", // percent sign
 279                     "0", // native 0 digit
 280                     "#", // pattern digit
 281                     "-", // minus sign
 282                     "E", // exponential
 283                     "\u2030", // per mille
 284                     "\u221e", // infinity
 285                     "\ufffd" // NaN
 286                 }
 287             },
 288             { "TimePatterns",
 289                 new String[] {
 290                     "'kl 'H:mm z", // full time pattern
 291                     "HH:mm:ss z", // long time pattern
 292                     "HH:mm:ss", // medium time pattern
 293                     "HH:mm", // short time pattern
 294                 }
 295             },
 296             { "DatePatterns",
 297                 new String[] {
 298                     "'den 'd MMMM yyyy", // full date pattern
 299                     "'den 'd MMMM yyyy", // long date pattern
 300                     "yyyy-MMM-dd", // medium date pattern
 301                     "yyyy-MM-dd", // short date pattern
 302                 }
 303             },
 304             { "DateTimePatterns",
 305                 new String[] {
 306                     "{1} {0}" // date-time pattern
 307                 }
 308             },
 309             { "DateTimePatternChars", "GyMdkHmsSEDFwWahKzZ" },
 310         };
 311     }
 312 }