Searched refs:newDom (Results 1 – 2 of 2) sorted by relevance
1013 int32_t newDom = (dom + amount*7 - start) % gap; in roll() local1014 if (newDom < 0) in roll()1015 newDom += gap; in roll()1016 newDom += start; in roll()1019 if (newDom < 1) in roll()1020 newDom = 1; in roll()1021 if (newDom > monthLen) in roll()1022 newDom = monthLen; in roll()1034 setTimeInMillis(cMonthStart + (newDom-1)*kOneDay, status); in roll()
1997 int32_t newDom = i + amount; in TestWOY() local1998 while (newDom < 27) newDom += 7; in TestWOY()1999 while (newDom > 33) newDom -= 7; in TestWOY()2000 cal.set(1999, UCAL_DECEMBER, newDom); in TestWOY()