Home
last modified time | relevance | path

Searched refs:dayOfYear (Results 1 – 5 of 5) sorted by relevance

/external/icu4c/i18n/
Dgregocal.cpp366 int32_t eyear, month, dayOfMonth, dayOfYear; in handleComputeFields() local
382 dayOfYear = getGregorianDayOfYear(); in handleComputeFields()
392 dayOfYear = (julianEpochDay - january1); // 0-based in handleComputeFields()
405 if (dayOfYear >= march1) { in handleComputeFields()
408 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in handleComputeFields()
409 dayOfMonth = dayOfYear - (isLeap?kLeapNumDays[month]:kNumDays[month]) + 1; // one-based DOM in handleComputeFields()
410 ++dayOfYear; in handleComputeFields()
418 __FILE__, __LINE__, dayOfYear, getGregorianDayOfYear(), fCutoverJulianDay); in handleComputeFields()
429 __FILE__, __LINE__,gregShift, dayOfYear, dayOfYear+gregShift, fCutoverJulianDay); in handleComputeFields()
431 dayOfYear += gregShift; in handleComputeFields()
[all …]
Dhebrwcal.cpp561 int32_t dayOfYear = (d - ys); in handleComputeFields() local
564 while (dayOfYear < 1) { in handleComputeFields()
567 dayOfYear = (d - ys); in handleComputeFields()
575 while (dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type] ) ) { in handleComputeFields()
579 … int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]); in handleComputeFields()
586 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
Dislamcal.cpp375 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
410 dayOfYear = (days - monthStart(year, 0) + 1); in handleComputeFields()
417 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
Dcalendar.cpp1241 int32_t dayOfYear = fFields[UCAL_DAY_OF_YEAR]; in computeWeekFields() local
1254 int32_t relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
1255 int32_t woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields()
1268 int32_t prevDoy = dayOfYear + handleGetYearLength(eyear - 1); in computeWeekFields()
1279 if (dayOfYear >= (lastDoy - 5)) { in computeWeekFields()
1280 int32_t lastRelDow = (relDow + lastDoy - dayOfYear) % 7; in computeWeekFields()
1285 ((dayOfYear + 7 - relDow) > lastDoy)) { in computeWeekFields()
/external/webkit/WebCore/loader/
DFTPDirectoryDocument.cpp219 result.tm_yday = date.dayOfYear(); in gmtimeQt()