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()
2019 int32_t newDom = i + amount; in TestWOY() local2020 while (newDom < 27) newDom += 7; in TestWOY()2021 while (newDom > 33) newDom -= 7; in TestWOY()2022 cal.set(1999, UCAL_DECEMBER, newDom); in TestWOY()