Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34ead209 authored by Victor Chang's avatar Victor Chang
Browse files

Deprecate JapaneseCalendar.CURRENT_ERA

In the future, if the era changes in Japan, CURRENT_ERA
on old Android devices will be incorrect.

Thus, Android app developer should not use this API.

Bug: 77850660
Test: m droid
Change-Id: I9ee640bccc83a73c94ac76138597f09f05af8796
parent a4c1416c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20918,7 +20918,7 @@ package android.icu.util {
    ctor public JapaneseCalendar(int, int, int, int);
    ctor public JapaneseCalendar(int, int, int);
    ctor public JapaneseCalendar(int, int, int, int, int, int);
    field public static final int CURRENT_ERA;
    field @Deprecated public static final int CURRENT_ERA;
    field public static final int HEISEI;
    field public static final int MEIJI;
    field public static final int SHOWA;