Home
last modified time | relevance | path

Searched refs:firstDayOfWeek (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DUtils.java553 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()
[all …]
DCalendarViewAdapter.java375 int firstDayOfWeek = Utils.getFirstDayOfWeek(mContext); in buildWeekDate() local
377 int diff = dayOfWeek - firstDayOfWeek; in buildWeekDate()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsDAO.kt243 val defaultValue = Calendar.getInstance().firstDayOfWeek.toString() in getWeekdayOrder()