Home
last modified time | relevance | path

Searched refs:week (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java420 int week = Utils.getWeekNumberFromTime(mMilliTime, mContext); in buildWeekNum() local
421 return mContext.getResources().getQuantityString(R.plurals.weekN, week, week); in buildWeekNum()
DUtils.java459 public static int getJulianMondayFromWeeksSinceEpoch(int week) { in getJulianMondayFromWeeksSinceEpoch() argument
460 return MONDAY_BEFORE_JULIAN_EPOCH + week * 7; in getJulianMondayFromWeeksSinceEpoch()
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
DCalendarUtilities.java243 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week); in putRuleIntoTimeZoneInformation()
395 int week; field in CalendarUtilities.RRule
420 week = _week; in RRule()
426 return "FREQ=YEARLY;BYMONTH=" + month + ";BYDAY=" + week + in toString()
450 int week = calendar.get(Calendar.DAY_OF_WEEK_IN_MONTH); in inferRRuleFromCalendars() local
467 if (week != thisWeek) { in inferRRuleFromCalendars()
468 if (week < 0 || week == maxWeek) { in inferRRuleFromCalendars()
472 week = -1; in inferRRuleFromCalendars()
495 return new RRule(month + 1, dayOfWeek, week); in inferRRuleFromCalendars()