Home | History | Annotate | Download | only in format

Lines Matching refs:week

45      * The Julian day of the Monday in the week of the epoch, December 29, 1969
87 * Day of week [0-6]
662 * Computes the week number according to ISO 8601. The current Time
668 * The first week of the year (week 1) is defined by ISO 8601 as the
669 * first week with four or more of its days in the starting year.
670 * Or equivalently, the week containing January 4. Or equivalently,
671 * the week with the year's first Thursday in it.
675 * The week number can be calculated by counting Thursdays. Week N
679 * @return the ISO week number.
690 // The week crosses a year boundary.
800 * Returns the week since {@link #EPOCH_JULIAN_DAY} (Jan 1, 1970) adjusted
801 * for first day of week. This takes a julian day and the week start day and
802 * calculates which week since {@link #EPOCH_JULIAN_DAY} that day occurs in,
803 * starting at 0. *Do not* use this to compute the ISO week number for the
806 * @param julianDay The julian day to calculate the week number for
807 * @param firstDayOfWeek Which week day is the first day of the week, see
822 * the Monday for that week. This assumes that the week containing the
823 * {@link #EPOCH_JULIAN_DAY} is considered week 0. It returns the Julian day
824 * for the Monday week weeks after the Monday of the week containing the
827 * @param week Number of weeks since the epoch
828 * @return The julian day for the Monday of the given week since the epoch
830 public static int getJulianMondayFromWeeksSinceEpoch(int week) {
831 return MONDAY_BEFORE_JULIAN_EPOCH + week * 7;