ICU-13601 Added getFirstDayOfWeek() in ICU Calendar wrapper class - CalendarICU.

X-SVN-Rev: 41418
This commit is contained in:
Yoshito Umaoka 2018-05-20 21:56:37 +00:00
parent a617526fe3
commit ab59a3896c

View File

@ -26,7 +26,7 @@ public class CalendarICU extends java.util.Calendar {
private static final long serialVersionUID = -8641226371713600671L;
private Calendar fIcuCal;
private CalendarICU(Calendar icuCal) {
fIcuCal = icuCal;
init();
@ -64,7 +64,7 @@ public class CalendarICU extends java.util.Calendar {
// calendar fields. See private void sync().
//public void clear()
//public void clear(int field)
@Override
public Object clone() {
sync();
@ -154,6 +154,11 @@ public class CalendarICU extends java.util.Calendar {
return result;
}
@Override
public int getFirstDayOfWeek() {
return fIcuCal.getFirstDayOfWeek();
}
@Override
public int getGreatestMinimum(int field) {
return fIcuCal.getGreatestMinimum(field);