Lines Matching refs:endTime
275 Time endTime = mEndTime;
284 int hourDuration = endTime.hour - startTime.hour;
285 int minuteDuration = endTime.minute - startTime.minute;
292 endTime.hour = hourOfDay + hourDuration;
293 endTime.minute = minute + minuteDuration;
297 endTime.hour = hourOfDay;
298 endTime.minute = minute;
301 if (endTime.before(startTime)) {
302 endTime.monthDay = startTime.monthDay + 1;
306 endMillis = endTime.normalize(true);
338 Time endTime = mEndTime;
347 int yearDuration = endTime.year - startTime.year;
348 int monthDuration = endTime.month - startTime.month;
349 int monthDayDuration = endTime.monthDay - startTime.monthDay;
357 endTime.year = year + yearDuration;
358 endTime.month = month + monthDuration;
359 endTime.monthDay = monthDay + monthDayDuration;
360 endMillis = endTime.normalize(true);
367 endTime.year = year;
368 endTime.month = month;
369 endTime.monthDay = monthDay;
370 endMillis = endTime.normalize(true);
373 if (endTime.before(startTime)) {
374 endTime.set(startTime);