Lines Matching refs:firstDayOfWeek
597 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument
598 int diff = Time.THURSDAY - firstDayOfWeek; in getWeeksSinceEpochFromJulianDay()
710 public static boolean isSaturday(int column, int firstDayOfWeek) { in isSaturday() argument
711 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() argument
724 return (firstDayOfWeek == Time.SUNDAY && column == 0) in isSunday()
725 || (firstDayOfWeek == Time.MONDAY && column == 6) in isSunday()
726 || (firstDayOfWeek == Time.SATURDAY && column == 1); in isSunday()
1331 int firstDayOfWeek = getFirstDayOfWeek(context); in getWeekNumberFromTime() local
1336 && (firstDayOfWeek == Time.SUNDAY || firstDayOfWeek == Time.SATURDAY)) { in getWeekNumberFromTime()
1339 } else if (weekTime.weekDay == Time.SATURDAY && firstDayOfWeek == Time.SATURDAY) { in getWeekNumberFromTime()