Searched refs:newDom (Results 1 – 2 of 2) sorted by relevance
1009 int32_t newDom = (dom + amount*7 - start) % gap; in roll() local1010 if (newDom < 0) in roll()1011 newDom += gap; in roll()1012 newDom += start; in roll()1015 if (newDom < 1) in roll()1016 newDom = 1; in roll()1017 if (newDom > monthLen) in roll()1018 newDom = monthLen; in roll()1030 setTimeInMillis(cMonthStart + (newDom-1)*kOneDay, status); in roll()
1787 int32_t newDom = i + amount; in TestWOY() local1788 while (newDom < 27) newDom += 7; in TestWOY()1789 while (newDom > 33) newDom -= 7; in TestWOY()1790 cal.set(1999, UCAL_DECEMBER, newDom); in TestWOY()