Lines Matching refs:day
166 * creating all-day events that is part of the extra data of the intent.
168 * default for the new event should be an all-day event.
751 // to display it properly. For all-day events, the "until" time string
768 // format for an all-day event.
919 // if it's all day compute the duration in days
948 * @param weekStart the week start day, specified as java.util.Calendar
975 for (int day = 0; day < dayCount; day++) {
976 bydayNum[day] = 0;
1028 // Set the week start day.
1235 // Reset start and end time, ensure at least 1 day duration, and set
1236 // the timezone to UTC, as required for all-day events.
1316 // * not recur on the same day of the week that the startTime falls on
1317 // In this case, we'll need to push the start time to fall on the first day of the week
1334 int day = EventRecurrence.day2TimeDay(mEventRecurrence.byday[i]);
1335 if (day == startDay) {
1336 // Our start day is one of the recurring days, so we're good.
1340 if (day < weekstart) {
1342 day += 7;
1344 // We either want the earliest day that is later in the week than startDay ...
1345 if (day > startDay && (day < closestWeekday || closestWeekday < startDay)) {
1346 closestWeekday = day;
1348 // ... or if there are no days later than startDay, we want the earliest day that is
1351 // We haven't found a day that's later in the week than startDay yet.
1352 if (day < closestWeekday) {
1353 closestWeekday = day;
1358 // We're here, so unfortunately our event's start day is not included in the days of