Searched refs:newDom (Results 1 – 2 of 2) sorted by relevance
1010 int32_t newDom = (dom + amount*7 - start) % gap; in roll() local1011 if (newDom < 0) in roll()1012 newDom += gap; in roll()1013 newDom += start; in roll()1016 if (newDom < 1) in roll()1017 newDom = 1; in roll()1018 if (newDom > monthLen) in roll()1019 newDom = monthLen; in roll()1031 setTimeInMillis(cMonthStart + (newDom-1)*kOneDay, status); in roll()
1988 int32_t newDom = i + amount; in TestWOY() local1989 while (newDom < 27) newDom += 7; in TestWOY()1990 while (newDom > 33) newDom -= 7; in TestWOY()1991 cal.set(1999, UCAL_DECEMBER, newDom); in TestWOY()