/external/icu4c/i18n/ |
D | gregoimp.cpp | 97 int32_t& dom, int32_t& dow, int32_t& doy) { in dayToFields() argument 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length in dayToFields() 107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle length in dayToFields() 108 int32_t n4 = ClockMath::floorDivide(doy, 1461, doy); // 4-year cycle length in dayToFields() 109 int32_t n1 = ClockMath::floorDivide(doy, 365, doy); in dayToFields() 112 doy = 365; // Dec 31 at end of 4- or 400-year cycle in dayToFields() 126 if (doy >= march1) { in dayToFields() 129 month = (12 * (doy + correction) + 6) / 367; // zero-based month in dayToFields() 130 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM in dayToFields() 131 doy++; // one-based doy in dayToFields() [all …]
|
D | cecal.cpp | 140 int32_t doy = (r4 == 1460) ? 365 : (r4 % 365); // days in present year in jdToCE() local 142 month = doy / 30; // 30 -> Coptic/Ethiopic month length up to 12th month in jdToCE() 143 day = (doy % 30) + 1; // 1-based days in a month in jdToCE()
|
D | basictz.cpp | 161 int32_t year, month, dom, dow, doy, mid; in getSimpleRulesNear() local 166 year, month, dom, dow, doy, mid); in getSimpleRulesNear() 193 year, month, dom, dow, doy, mid); in getSimpleRulesNear() 224 year, month, dom, dow, doy, mid); in getSimpleRulesNear() 479 int32_t year, month, dom, dow, doy, mid; in getTimeZoneRulesAfter() local 480 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid); in getTimeZoneRulesAfter()
|
D | gregoimp.h | 181 int32_t& dom, int32_t& dow, int32_t& doy); 207 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid);
|
D | tzrule.cpp | 356 int32_t year, month, dom, dow, doy, mid; in getNextStart() local 357 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getNextStart() 380 int32_t year, month, dom, dow, doy, mid; in getPreviousStart() local 381 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getPreviousStart()
|
D | vtzone.cpp | 189 int32_t year, month, dom, dow, doy, mid; in getDateTimeString() local 190 Grego::timeToFields(time, year, month, dom, dow, doy, mid); in getDateTimeString() 1662 int32_t y, m, d, dow, doy, mid; in parse() local 1663 Grego::timeToFields(start, y, m, d, dow, doy, mid); in parse() 1938 int32_t year, month, dom, dow, doy, mid; in writeZone() local 1958 Grego::timeToFields(tzt.getTime() + fromOffset, year, month, dom, dow, doy, mid); in writeZone()
|
D | olsontz.cpp | 564 int32_t year, month, dom, dow, doy, mid; in useDaylightTime() local 565 Grego::timeToFields(current, year, month, dom, dow, doy, mid); in useDaylightTime()
|
/external/icu4c/test/intltest/ |
D | calregts.cpp | 2108 int32_t doy = cal.get(UCAL_DAY_OF_YEAR, status); in TestJ81() local 2114 if (woy != DOY_DATA[i+1] || doy != DOY_DATA[i+2] || dow != DOY_DATA[i+3]) { in TestJ81()
|