Lines Matching defs:dom
380 int32_t dom = get(UCAL_DAY_OF_MONTH, status);
384 int32_t moon = day - dom + 1; // New moon
385 offsetMonth(moon, dom, amount);
410 int32_t dom = get(UCAL_DAY_OF_MONTH, status);
414 int32_t moon = day - dom + 1; // New moon (start of this month)
454 offsetMonth(moon, dom, newM - m);
795 * @param dom the 1-based day-of-month of the start position
799 void ChineseCalendar::offsetMonth(int32_t newMoon, int32_t dom, int32_t delta) {
808 // Find the target dom
809 int32_t jd = newMoon + kEpochStartAsJulianDay - 1 + dom;
811 // Pin the dom. In this calendar all months are 29 or 30 days
812 // so pinning just means handling dom 30.
813 if (dom > 29) {
821 if (getActualMaximum(UCAL_DAY_OF_MONTH, status) >= dom) {