mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8202088: Japanese new era implementation
Reviewed-by: scolebourne, rriggs, nishjain, weijun
This commit is contained in:
parent
307f2c4550
commit
ec4b6a477f
21 changed files with 277 additions and 96 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -106,6 +106,7 @@ public class FormatData extends ParallelListResourceBundle {
|
|||
"T",
|
||||
"S",
|
||||
"H",
|
||||
"N", // NewEra
|
||||
};
|
||||
|
||||
// Japanese imperial calendar era strings
|
||||
|
@ -115,6 +116,7 @@ public class FormatData extends ParallelListResourceBundle {
|
|||
"Taisho",
|
||||
"Showa",
|
||||
"Heisei",
|
||||
"NewEra", // NewEra
|
||||
};
|
||||
|
||||
return new Object[][] {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -159,6 +159,7 @@ public class JavaTimeSupplementary extends OpenListResourceBundle {
|
|||
"Taisho",
|
||||
"Showa",
|
||||
"Heisei",
|
||||
"NewEra", // New Era
|
||||
};
|
||||
|
||||
final String[] sharedShortEras = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue