Lines Matching refs:endTime
992 event.endTime = DAY_IN_MINUTES - 1;
996 if (event.endTime < minOtherMinutes) {
997 event.endTime = minOtherMinutes;
1004 event.endTime - event.startTime < minOtherMinutes) {
1010 event.endTime = Math.min(event.startTime + minOtherMinutes,
1013 } else if (event.endTime > WORK_DAY_END_MINUTES) {
1015 event.endTime = Math.min(event.endTime + minOtherMinutes, DAY_IN_MINUTES - 1);
1017 if (event.endTime - event.startTime < minOtherMinutes) {
1018 event.startTime = event.endTime - minOtherMinutes;
1033 + event.endTime, startMinute + minMinutes);
1242 lhs.endTime = DAY_IN_MINUTES - 1;
1254 lhs.endTime = event.endTime;
1266 segment.endMinute = Math.max(dayOffset + event.endTime, minEnd);