Home
last modified time | relevance | path

Searched refs:ruleStrs (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceSetTest.java193 private EventRecurrence[] convertToEventRecurrences(String[] ruleStrs) { in convertToEventRecurrences() argument
194 if (ruleStrs == null) { in convertToEventRecurrences()
197 final EventRecurrence[] rules = new EventRecurrence[ruleStrs.length]; in convertToEventRecurrences()
198 for (int i = 0; i < ruleStrs.length; ++i) { in convertToEventRecurrences()
200 rules[i].parse(ruleStrs[i]); in convertToEventRecurrences()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java105 String[] ruleStrs = ruleStr.split(RULE_SEPARATOR); in parseMultiLineRecurrenceRules() local
106 final EventRecurrence[] rules = new EventRecurrence[ruleStrs.length]; in parseMultiLineRecurrenceRules()
107 for (int i = 0; i < ruleStrs.length; ++i) { in parseMultiLineRecurrenceRules()
109 rule.parse(ruleStrs[i]); in parseMultiLineRecurrenceRules()