Searched refs:byDay (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | CalendarUtilities.java | 1147 static private void addByDay(String byDay, Serializer s) throws IOException { in addByDay() argument 1149 int weekOfMonth = byDay.charAt(0); in addByDay() 1154 bareByDay = byDay.substring(2); in addByDay() 1157 bareByDay = byDay.substring(1); in addByDay() 1163 static private void addByDaySetpos(String byDay, String bySetpos, Serializer s) in addByDaySetpos() argument 1173 s.data(Tags.CALENDAR_RECURRENCE_DAYOFWEEK, generateEasDayOfWeek(byDay)); in addByDaySetpos() 1206 String byDay = tokenFromRrule(rrule, "BYDAY="); in recurrenceFromRrule() local 1207 if (byDay != null) { in recurrenceFromRrule() 1208 s.data(Tags.CALENDAR_RECURRENCE_DAYOFWEEK, generateEasDayOfWeek(byDay)); in recurrenceFromRrule() 1210 if (byDay.startsWith("-1")) { in recurrenceFromRrule() [all …]
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
D | CalendarUtilitiesTests.java | 176 String byDay = "TU,WE,SA"; in testGenerateEasDayOfWeek() local 178 assertEquals("76", CalendarUtilities.generateEasDayOfWeek(byDay)); in testGenerateEasDayOfWeek() 180 byDay = "MO,TU,WE,TH,FR"; in testGenerateEasDayOfWeek() 181 assertEquals("62", CalendarUtilities.generateEasDayOfWeek(byDay)); in testGenerateEasDayOfWeek() 183 byDay = "SU"; in testGenerateEasDayOfWeek() 184 assertEquals("1", CalendarUtilities.generateEasDayOfWeek(byDay)); in testGenerateEasDayOfWeek()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/ |
D | CalendarUtilitiesTests.java | 176 String byDay = "TU,WE,SA"; in testGenerateEasDayOfWeek() local 178 assertEquals("76", CalendarUtilities.generateEasDayOfWeek(byDay)); in testGenerateEasDayOfWeek() 180 byDay = "MO,TU,WE,TH,FR"; in testGenerateEasDayOfWeek() 181 assertEquals("62", CalendarUtilities.generateEasDayOfWeek(byDay)); in testGenerateEasDayOfWeek() 183 byDay = "SU"; in testGenerateEasDayOfWeek() 184 assertEquals("1", CalendarUtilities.generateEasDayOfWeek(byDay)); in testGenerateEasDayOfWeek()
|