Home
last modified time | relevance | path

Searched refs:day1 (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/
Dcalendar.py121 day1 = weekday(year, month, 1)
123 return day1, ndays
185 day1, ndays = monthrange(year, month)
186 days_before = (day1 - self.firstweekday) % 7
191 days_after = (self.firstweekday - day1 - ndays) % 7
/external/icu/icu4c/source/i18n/
Dchnsecal.h190 virtual int32_t synodicMonthsBetween(int32_t day1, int32_t day2) const;
Dchnsecal.cpp587 int32_t ChineseCalendar::synodicMonthsBetween(int32_t day1, int32_t day2) const { in synodicMonthsBetween() argument
588 double roundme = ((day2 - day1) / CalendarAstronomer::SYNODIC_MONTH); in synodicMonthsBetween()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DChineseCalendar.java727 private int synodicMonthsBetween(int day1, int day2) { in synodicMonthsBetween() argument
728 return (int) Math.round((day2 - day1) / CalendarAstronomer.SYNODIC_MONTH); in synodicMonthsBetween()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DChineseCalendar.java745 private int synodicMonthsBetween(int day1, int day2) { in synodicMonthsBetween() argument
746 return (int) Math.round((day2 - day1) / CalendarAstronomer.SYNODIC_MONTH); in synodicMonthsBetween()