Lines Matching refs:firstDayOfWeek
553 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument
554 int diff = Time.THURSDAY - firstDayOfWeek; in getWeeksSinceEpochFromJulianDay()
666 public static boolean isSaturday(int column, int firstDayOfWeek) { in isSaturday() argument
667 return (firstDayOfWeek == Time.SUNDAY && column == 6) in isSaturday()
668 || (firstDayOfWeek == Time.MONDAY && column == 5) in isSaturday()
669 || (firstDayOfWeek == Time.SATURDAY && column == 0); in isSaturday()
679 public static boolean isSunday(int column, int firstDayOfWeek) { in isSunday() argument
680 return (firstDayOfWeek == Time.SUNDAY && column == 0) in isSunday()
681 || (firstDayOfWeek == Time.MONDAY && column == 6) in isSunday()
682 || (firstDayOfWeek == Time.SATURDAY && column == 1); in isSunday()
1241 int firstDayOfWeek = getFirstDayOfWeek(context); in getWeekNumberFromTime() local
1246 && (firstDayOfWeek == Time.SUNDAY || firstDayOfWeek == Time.SATURDAY)) { in getWeekNumberFromTime()
1249 } else if (weekTime.weekDay == Time.SATURDAY && firstDayOfWeek == Time.SATURDAY) { in getWeekNumberFromTime()