• Home
  • Raw
  • Download

Lines Matching refs:month

227           int32_t month = get(UCAL_MONTH, status);  in add()  local
231 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
232 month += amount; in add()
234 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
235 ++month; in add()
237 if (month <= ELUL) { in add()
240 month -= ELUL+1; in add()
245 acrossAdar1 = (month > ADAR_1); // started after ADAR_1? in add()
246 month += amount; in add()
248 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add()
249 --month; in add()
251 if (month >= 0) { in add()
254 month += ELUL+1; in add()
259 set(UCAL_MONTH, month); in add()
319 int32_t month = get(UCAL_MONTH, status); in roll() local
324 int32_t newMonth = month + (amount % yearLength); in roll()
330 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()
332 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll()
499 int32_t HebrewCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
506 while (month < 0) { in handleGetMonthLength()
507 month += monthsInYear(--extendedYear); in handleGetMonthLength()
510 while (month > 12) { in handleGetMonthLength()
511 month -= monthsInYear(extendedYear++); in handleGetMonthLength()
514 switch (month) { in handleGetMonthLength()
518 return MONTH_LENGTH[month][yearType(extendedYear)]; in handleGetMonthLength()
522 return MONTH_LENGTH[month][0]; in handleGetMonthLength()
585 int32_t month = 0; in handleComputeFields() local
587 …while (month < momax && dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month]… in handleComputeFields()
588 month++; in handleComputeFields()
590 if (month >= momax || month<=0) { in handleComputeFields()
603 month--; in handleComputeFields()
604 … int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]); in handleComputeFields()
609 internalSet(UCAL_MONTH, month); in handleComputeFields()
635 int32_t HebrewCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) c… in handleComputeMonthStart() argument
643 while (month < 0) { in handleComputeMonthStart()
644 month += monthsInYear(--eyear); in handleComputeMonthStart()
647 while (month > 12) { in handleComputeMonthStart()
648 month -= monthsInYear(eyear++); in handleComputeMonthStart()
657 if (month != 0) { in handleComputeMonthStart()
659 day += LEAP_MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart()
661 day += MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart()