Searched refs:firstDayOfWeek (Results 1 – 2 of 2) sorted by relevance
597 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument598 int diff = Time.THURSDAY - firstDayOfWeek; in getWeeksSinceEpochFromJulianDay()710 public static boolean isSaturday(int column, int firstDayOfWeek) { in isSaturday() argument711 return (firstDayOfWeek == Time.SUNDAY && column == 6) in isSaturday()712 || (firstDayOfWeek == Time.MONDAY && column == 5) in isSaturday()713 || (firstDayOfWeek == Time.SATURDAY && column == 0); in isSaturday()723 public static boolean isSunday(int column, int firstDayOfWeek) { in isSunday() argument724 return (firstDayOfWeek == Time.SUNDAY && column == 0) in isSunday()725 || (firstDayOfWeek == Time.MONDAY && column == 6) in isSunday()726 || (firstDayOfWeek == Time.SATURDAY && column == 1); in isSunday()[all …]
390 int firstDayOfWeek = Utils.getFirstDayOfWeek(mContext); in buildWeekDate() local392 int diff = dayOfWeek - firstDayOfWeek; in buildWeekDate()