/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
EventRecurrence.java | 64 public int[] byday; field in class:EventRecurrence 89 sParsePartMap.put("BYDAY", new ParseByDay()); 316 String str = day2String(this.byday[i]); 378 s.append(";BYDAY="); 407 int day = byday[i]; 418 * "FREQ=MONTHLY;BYDAY=3TU" (the 3rd Tuesday of every month). 420 * Negative days, e.g. "FREQ=MONTHLY;BYDAY=-1TU" (the last Tuesday of every month), 423 * Rules that fire every week, such as "FREQ=MONTHLY;BYDAY=TU" (every Tuesday of every 488 arraysEqual(byday, bydayCount, er.byday, er.bydayCount) & 803 int[] byday; local [all...] |
RecurrenceProcessor.java | 240 // BYDAY -- when filtering, we ignore the number field, because it 242 byday: 244 int a[] = r.byday; 249 break byday; local 285 // BYSETPOS - we only handle rules like FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1 287 // Check for stuff like BYDAY=1TU 332 * The byday[] values are specified as bits, so we can just OR them all 337 bydayMask |= r.byday[i]; 341 * Generate a set according to the BYDAY rules. For each day of the month, determine 490 * processing the BYDAY, BYMONTHDAY, etc. as filters instead 499 int[] byday, bydayNum, bymonthday; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventHelper.java | 967 int[] byday = new int[dayCount]; local 1011 int[] byday = new int[1]; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 82 days.append(dayToString(recurrence.byday[i], dayOfWeekLength)); 85 days.append(dayToString(recurrence.byday[count], dayOfWeekLength)); 89 // There is no "BYDAY" specifier, so use the day of the
|
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
EventRecurrenceTest.java | 46 /* int[] byday */ null, 67 /* int[] byday */ null, 88 /* int[] byday */ null, 109 /* int[] byday */ null, 130 /* int[] byday */ null, 151 /* int[] byday */ null, 172 /* int[] byday */ null, 194 /* int[] byday */ null, 216 /* int[] byday */ null, 238 /* int[] byday */ null [all...] |
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
RecurrencePickerDialog.java | 146 * BYDAY: Days of the week to be repeated. Sun = 0, Mon = 1, etc 151 * BYDAY AND BYMONTHDAY: How to repeat monthly events? Same date of the 376 // er.byday[] 380 * in er.byday[] and the "nth" is stored in er.bydayNum[]. Currently we 475 int dayOfWeek = EventRecurrence.day2TimeDay(er.byday[i]); 579 if (er.bydayCount < count || er.byday == null || er.bydayNum == null) { 580 er.byday = new int[count]; 584 er.byday[0] = EventRecurrence.timeDay2Day(model.monthlyByDayOfWeek); 596 if (er.bydayCount < count || er.byday == null || er.bydayNum == null) { 597 er.byday = new int[count] [all...] |