Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/
DUtils.java597 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()
[all …]
DCalendarViewAdapter.java390 int firstDayOfWeek = Utils.getFirstDayOfWeek(mContext); in buildWeekDate() local
392 int diff = dayOfWeek - firstDayOfWeek; in buildWeekDate()