Home
last modified time | relevance | path

Searched refs:EventRecurrence (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DEventRecurrenceTest.java19 import com.android.calendarcommon2.EventRecurrence.InvalidFormatException;
39 /* int freq */ EventRecurrence.SECONDLY, in test0()
53 /* int wkst */ EventRecurrence.MO in test0()
60 /* int freq */ EventRecurrence.MINUTELY, in test1()
74 /* int wkst */ EventRecurrence.MO in test1()
81 /* int freq */ EventRecurrence.HOURLY, in test2()
95 /* int wkst */ EventRecurrence.MO in test2()
102 /* int freq */ EventRecurrence.DAILY, in test3()
116 /* int wkst */ EventRecurrence.MO in test3()
123 /* int freq */ EventRecurrence.WEEKLY, in test4()
[all …]
DRecurrenceSetTest.java193 private EventRecurrence[] convertToEventRecurrences(String[] ruleStrs) { in convertToEventRecurrences()
197 final EventRecurrence[] rules = new EventRecurrence[ruleStrs.length]; in convertToEventRecurrences()
199 rules[i] = new EventRecurrence(); in convertToEventRecurrences()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java90 for (EventRecurrence rrule : recur.rrules) { in getLastOccurence()
195 private static int filter(EventRecurrence r, Time iterator) in filter()
200 if (EventRecurrence.MONTHLY >= freq) { in filter()
210 if (EventRecurrence.WEEKLY >= freq) { in filter()
222 if (EventRecurrence.DAILY >= freq) { in filter()
246 int v = EventRecurrence.timeDay2Day(iterator.weekDay); in filter()
255 if (EventRecurrence.HOURLY >= freq) { in filter()
264 if (EventRecurrence.MINUTELY >= freq) { in filter()
273 if (EventRecurrence.SECONDLY >= freq) { in filter()
286 if (freq == EventRecurrence.MONTHLY && r.bydayCount > 0) { in filter()
[all …]
DEventRecurrence.java30 public class EventRecurrence { class
473 if (!(obj instanceof EventRecurrence)) { in equals()
477 EventRecurrence er = (EventRecurrence) obj; in equals()
668 public abstract int parsePart(String value, EventRecurrence er); in parsePart()
726 @Override public int parsePart(String value, EventRecurrence er) { in parsePart()
737 @Override public int parsePart(String value, EventRecurrence er) { in parsePart()
753 @Override public int parsePart(String value, EventRecurrence er) { in parsePart()
764 @Override public int parsePart(String value, EventRecurrence er) { in parsePart()
775 @Override public int parsePart(String value, EventRecurrence er) { in parsePart()
784 @Override public int parsePart(String value, EventRecurrence er) { in parsePart()
[all …]
DRecurrenceSet.java43 public EventRecurrence[] rrules = null;
45 public EventRecurrence[] exrules = null;
54 throws EventRecurrence.InvalidFormatException { in RecurrenceSet()
72 throws EventRecurrence.InvalidFormatException { in RecurrenceSet()
86 throws EventRecurrence.InvalidFormatException { in RecurrenceSet()
92 throws EventRecurrence.InvalidFormatException { in init()
101 private EventRecurrence[] parseMultiLineRecurrenceRules(String ruleStr) { in parseMultiLineRecurrenceRules()
106 final EventRecurrence[] rules = new EventRecurrence[ruleStrs.length]; in parseMultiLineRecurrenceRules()
108 EventRecurrence rule = new EventRecurrence(); in parseMultiLineRecurrenceRules()
148 throws EventRecurrence.InvalidFormatException{ in parseRecurrenceDates()
[all …]