Searched refs:week (Results 1 - 2 of 2) sorted by relevance

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
H A DUtils.java85 * the Monday for that week.
87 * This assumes that the week containing the {@link Time#EPOCH_JULIAN_DAY}
88 * is considered week 0. It returns the Julian day for the Monday
89 * {@code week} weeks after the Monday of the week containing the epoch.
91 * @param week Number of weeks since the epoch
92 * @return The julian day for the Monday of the given week since the epoch
94 public static int getJulianMondayFromWeeksSinceEpoch(int week) { argument
95 return MONDAY_BEFORE_JULIAN_EPOCH + week * 7;
99 * Returns the week sinc
[all...]
/frameworks/base/core/java/android/text/format/
H A DTime.java69 * The Julian day of the Monday in the week of the epoch, December 29, 1969
111 * Day of week [0-6]
855 * Computes the week number according to ISO 8601. The current Time
861 * The first week of the year (week 1) is defined by ISO 8601 as the
862 * first week with four or more of its days in the starting year.
863 * Or equivalently, the week containing January 4. Or equivalently,
864 * the week with the year's first Thursday in it.
868 * The week number can be calculated by counting Thursdays. Week N
872 * @return the ISO week numbe
1024 getJulianMondayFromWeeksSinceEpoch(int week) argument
[all...]

Completed in 95 milliseconds