Lines Matching refs:firstDayOfWeek
593 * @param firstDayOfWeek Which week day is the first day of the week,
597 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) {
598 int diff = Time.THURSDAY - firstDayOfWeek;
707 * @param firstDayOfWeek the first day of week in android.text.format.Time
710 public static boolean isSaturday(int column, int firstDayOfWeek) {
711 return (firstDayOfWeek == Time.SUNDAY && column == 6)
712 || (firstDayOfWeek == Time.MONDAY && column == 5)
713 || (firstDayOfWeek == Time.SATURDAY && column == 0);
720 * @param firstDayOfWeek the first day of week in android.text.format.Time
723 public static boolean isSunday(int column, int firstDayOfWeek) {
724 return (firstDayOfWeek == Time.SUNDAY && column == 0)
725 || (firstDayOfWeek == Time.MONDAY && column == 6)
726 || (firstDayOfWeek == Time.SATURDAY && column == 1);
1331 int firstDayOfWeek = getFirstDayOfWeek(context);
1336 && (firstDayOfWeek == Time.SUNDAY || firstDayOfWeek == Time.SATURDAY)) {
1339 } else if (weekTime.weekDay == Time.SATURDAY && firstDayOfWeek == Time.SATURDAY) {