Searched refs:calendarDay (Results 1 – 3 of 3) sorted by relevance
100 for (calendarDay in calendarDays) { in fromCalendarDays() variable101 val bit = sCalendarDayToBit[calendarDay] in fromCalendarDays()127 fun setBit(calendarDay: Int, on: Boolean): Weekdays { in setBit()128 val bit = sCalendarDayToBit[calendarDay] ?: return this in setBit()145 fun isBitOn(calendarDay: Int): Boolean { in isBitOn()146 val bit = sCalendarDayToBit[calendarDay] in isBitOn()147 ?: throw IllegalArgumentException("$calendarDay is not a valid weekday") in isBitOn()166 var calendarDay = time[Calendar.DAY_OF_WEEK] in getDistanceToPreviousDay() variable168 calendarDay-- in getDistanceToPreviousDay()169 if (calendarDay < Calendar.SUNDAY) { in getDistanceToPreviousDay()[all …]
135 fun getShortWeekday(calendarDay: Int): String? { in getShortWeekday()147 return mShortWeekdayNames!![calendarDay] in getShortWeekday()163 fun getLongWeekday(calendarDay: Int): String? { in getLongWeekday()176 return mLongWeekdayNames!![calendarDay] in getLongWeekday()
149 fun getShortWeekday(calendarDay: Int): String? { in getShortWeekday()151 return mFormattedStringModel.getShortWeekday(calendarDay) in getShortWeekday()167 fun getLongWeekday(calendarDay: Int): String? { in getLongWeekday()169 return mFormattedStringModel.getLongWeekday(calendarDay) in getLongWeekday()