• Home
  • Raw
  • Download

Lines Matching refs:month

391 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const {  in monthStart()
394 return (int32_t)uprv_ceil(29.5*month) in monthStart()
397 return trueMonthStart(12*(year-1) + month); in monthStart()
400 for(int i=0; i< month; i++){ in monthStart()
415 int32_t IslamicCalendar::trueMonthStart(int32_t month) const in trueMonthStart()
418 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart()
423 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart()
452 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart()
507 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
513 length = 29 + (month+1) % 2; in handleGetMonthLength()
514 if (month == DHU_AL_HIJJAH && civilLeapYear(extendedYear)) { in handleGetMonthLength()
518 month = 12*(extendedYear-1) + month; in handleGetMonthLength()
519 length = trueMonthStart(month+1) - trueMonthStart(month) ; in handleGetMonthLength()
521 length = getUmalqura_MonthLength(extendedYear - UMALQURA_YEAR_START, month); in handleGetMonthLength()
535 int32_t month = 12*(extendedYear-1); in handleGetYearLength() local
536 return (trueMonthStart(month + 12) - trueMonthStart(month)); in handleGetYearLength()
558 int32_t IslamicCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */… in handleComputeMonthStart() argument
561 if (month > 11) { in handleComputeMonthStart()
562 eyear += (month / 12); in handleComputeMonthStart()
563 month %= 12; in handleComputeMonthStart()
564 } else if (month < 0) { in handleComputeMonthStart()
565 month++; in handleComputeMonthStart()
566 eyear += (month / 12) - 1; in handleComputeMonthStart()
567 month = (month % 12) + 11; in handleComputeMonthStart()
569 return monthStart(eyear, month) + ((cType == TBLA)? ASTRONOMICAL_EPOC: CIVIL_EPOC) - 1; in handleComputeMonthStart()
606 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
616 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
617 month = month<11?month:11; in handleComputeFields()
618 startDate = monthStart(year, month); in handleComputeFields()
643 month = months % 12; in handleComputeFields()
649 month = (int32_t)uprv_ceil((days - 29 - yearStart(year)) / 29.5 ); in handleComputeFields()
650 month = month<11?month:11; in handleComputeFields()
651 startDate = monthStart(year, month); in handleComputeFields()
673 month = m; in handleComputeFields()
677 year=month=0; in handleComputeFields()
680 dayOfMonth = (days - monthStart(year, month)) + 1; in handleComputeFields()
689 internalSet(UCAL_MONTH, month); in handleComputeFields()