< prev index next >

src/share/classes/sun/text/resources/JavaTimeSupplementary.java

Print this page


   1 /*
   2  * Copyright (c) 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


 220                     "MMMM d, y G",
 221                     "MMM d, y G",
 222                     "M/d/yy G",
 223                 }
 224             },
 225             { "java.time.japanese.DatePatterns",
 226                 new String[] {
 227                     "G y MMMM d (EEEE)",
 228                     "G y MMMM d",
 229                     "G y MMM d",
 230                     "GGGGGy.MM.dd",
 231                 }
 232             },
 233             { "java.time.japanese.long.Eras",
 234                 new String[] {
 235                     "",
 236                     "Meiji",
 237                     "Taisho",
 238                     "Showa",
 239                     "Heisei",

 240                 }
 241             },
 242             { "java.time.japanese.short.Eras",
 243                 new String[] {
 244                     "",
 245                     "Meiji",
 246                     "Taisho",
 247                     "Showa",
 248                     "Heisei",

 249                 }
 250             },
 251             { "java.time.roc.DatePatterns",
 252                 new String[] {
 253                     "EEEE, G y MMMM dd",
 254                     "G y MMMM d",
 255                     "G y MMM d",
 256                     "GGGGG yyy-MM-dd",
 257                 }
 258             },
 259             { "java.time.short.Eras",
 260                 new String[] {
 261                     "BC",
 262                     "AD",
 263                 }
 264             },
 265             { "roc.DatePatterns",
 266                 new String[] {
 267                     "EEEE, GGGG y MMMM dd",
 268                     "GGGG y MMMM d",
   1 /*
   2  * Copyright (c) 2013, 2019, 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


 220                     "MMMM d, y G",
 221                     "MMM d, y G",
 222                     "M/d/yy G",
 223                 }
 224             },
 225             { "java.time.japanese.DatePatterns",
 226                 new String[] {
 227                     "G y MMMM d (EEEE)",
 228                     "G y MMMM d",
 229                     "G y MMM d",
 230                     "GGGGGy.MM.dd",
 231                 }
 232             },
 233             { "java.time.japanese.long.Eras",
 234                 new String[] {
 235                     "",
 236                     "Meiji",
 237                     "Taisho",
 238                     "Showa",
 239                     "Heisei",
 240                     "NewEra", // New Era
 241                 }
 242             },
 243             { "java.time.japanese.short.Eras",
 244                 new String[] {
 245                     "",
 246                     "Meiji",
 247                     "Taisho",
 248                     "Showa",
 249                     "Heisei",
 250                     "NewEra", // New Era
 251                 }
 252             },
 253             { "java.time.roc.DatePatterns",
 254                 new String[] {
 255                     "EEEE, G y MMMM dd",
 256                     "G y MMMM d",
 257                     "G y MMM d",
 258                     "GGGGG yyy-MM-dd",
 259                 }
 260             },
 261             { "java.time.short.Eras",
 262                 new String[] {
 263                     "BC",
 264                     "AD",
 265                 }
 266             },
 267             { "roc.DatePatterns",
 268                 new String[] {
 269                     "EEEE, GGGG y MMMM dd",
 270                     "GGGG y MMMM d",
< prev index next >