diff options
Diffstat (limited to 'src/com/android/calendar/CalendarViewAdapter.java')
-rw-r--r-- | src/com/android/calendar/CalendarViewAdapter.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/android/calendar/CalendarViewAdapter.java b/src/com/android/calendar/CalendarViewAdapter.java index 1e75d1fd..9f5dc778 100644 --- a/src/com/android/calendar/CalendarViewAdapter.java +++ b/src/com/android/calendar/CalendarViewAdapter.java @@ -485,8 +485,8 @@ public class CalendarViewAdapter extends BaseAdapter { String date = Utils.formatDateRange(mContext, mMilliTime, mMilliTime, DateUtils.FORMAT_SHOW_DATE); if (!mLunarInfoMap.containsKey(date)) { - String lunarInfo = service.getLunarStringForDayView( - time.year, time.month, time.monthDay); + String lunarInfo = service.getComplexLunarInfo( + time.year, time.month, time.monthDay, true, false); mLunarInfoMap.put(date, lunarInfo); } @@ -496,8 +496,8 @@ public class CalendarViewAdapter extends BaseAdapter { date = Utils.formatDateRange(mContext, preMilliTime, preMilliTime, DateUtils.FORMAT_SHOW_DATE); if (!mLunarInfoMap.containsKey(date)) { - String lunarInfo = service.getLunarStringForDayView( - time.year, time.month, time.monthDay); + String lunarInfo = service.getComplexLunarInfo( + time.year, time.month, time.monthDay, true, false); mLunarInfoMap.put(date, lunarInfo); } @@ -507,8 +507,8 @@ public class CalendarViewAdapter extends BaseAdapter { date = Utils.formatDateRange(mContext, nextMilliTime, nextMilliTime, DateUtils.FORMAT_SHOW_DATE); if (!mLunarInfoMap.containsKey(date)) { - String lunarInfo = service.getLunarStringForDayView( - time.year, time.month, time.monthDay); + String lunarInfo = service.getComplexLunarInfo( + time.year, time.month, time.monthDay, true, false); mLunarInfoMap.put(date, lunarInfo); } } |