我要将格里高利历转换为阿拉伯字母的回历日历。 请指导我吗?
void HijriCalender(){
UmmalquraCalendar now = new UmmalquraCalendar();
HijriDatePickerDialog dpd = HijriDatePickerDialog.newInstance(
Volunteer.this,
now.get(UmmalquraCalendar.YEAR),
now.get(UmmalquraCalendar.MONTH),
now.get(UmmalquraCalendar.DAY_OF_MONTH));
locale = new Locale("ar", "AE");
dpd.setLocale(locale);
dpd.show(getFragmentManager(), "HijriDatePickerDialog");
}
这是我当前的输出