Lines Matching refs:week
252 * Save default agenda/day/week/month view for next time
262 if (mAllowWeekForDetailView && viewId == CalendarController.ViewType.WEEK) {
389 * Returns the week since {@link Time#EPOCH_JULIAN_DAY} (Jan 1, 1970)
390 * adjusted for first day of week.
392 * This takes a julian day and the week start day and calculates which
393 * week since {@link Time#EPOCH_JULIAN_DAY} that day occurs in, starting
394 * at 0. *Do not* use this to compute the ISO week number for the year.
396 * @param julianDay The julian day to calculate the week number for
397 * @param firstDayOfWeek Which week day is the first day of the week,
412 * the Monday for that week.
414 * This assumes that the week containing the {@link Time#EPOCH_JULIAN_DAY}
415 * is considered week 0. It returns the Julian day for the Monday
416 * {@code week} weeks after the Monday of the week containing the epoch.
418 * @param week Number of weeks since the epoch
419 * @return The julian day for the Monday of the given week since the epoch
421 public static int getJulianMondayFromWeeksSinceEpoch(int week) {
422 return MONDAY_BEFORE_JULIAN_EPOCH + week * 7;
426 week as android.text.format.Time constant.
428 * @return the first day of week in android.text.format.Time
452 * @return true when week number should be shown.
477 * @param firstDayOfWeek the first day of week in android.text.format.Time
490 * @param firstDayOfWeek the first day of week in android.text.format.Time
625 int startMinute; // in minutes since the start of the week
705 // Go through all the events for the week
1058 * correct week of the year for that time.
1068 // if the date is on Saturday or Sunday and the start of the week
1070 // week
1083 * Formats a day of the week string. This is either just the name of the day
1084 * or a combination of yesterday/today/tomorrow and the day of the week.