< prev index next >
test/jdk/java/util/Calendar/CalendarTestScripts/CalendarAdapter.java
Print this page
rev 54350 : 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs
*** 1,7 ****
/*
! * Copyright (c) 2007, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2007, 2019, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 362,372 ****
"BeforeMeiji",
"Meiji",
"Taisho",
"Showa",
"Heisei",
! "NewEra"
};
break;
}
sb.append(eraNames[cal.get(ERA)]);
--- 362,372 ----
"BeforeMeiji",
"Meiji",
"Taisho",
"Showa",
"Heisei",
! "Reiwa"
};
break;
}
sb.append(eraNames[cal.get(ERA)]);
< prev index next >