Home
last modified time | relevance | path

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

12345678910>>...15

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DPersianCalendar.java422 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
428 dayOfYear = (int)(daysSinceEpoch - farvardin1); // 0-based in handleComputeFields()
429 if (dayOfYear < 216) { // Compute 0-based month in handleComputeFields()
430 month = dayOfYear / 31; in handleComputeFields()
432 month = (dayOfYear - 6) / 30; in handleComputeFields()
434 dayOfMonth = dayOfYear - MONTH_COUNT[month][2] + 1; in handleComputeFields()
435 ++dayOfYear; // Make it 1-based now in handleComputeFields()
442 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
DGregorianCalendar.java734 int eyear, month, dayOfMonth, dayOfYear; in handleComputeFields() local
739 dayOfYear = getGregorianDayOfYear(); in handleComputeFields()
749 dayOfYear = (int)(julianEpochDay - january1); // 0-based in handleComputeFields()
762 if (dayOfYear >= march1) { in handleComputeFields()
765 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in handleComputeFields()
766 dayOfMonth = dayOfYear - MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in handleComputeFields()
767 ++dayOfYear; in handleComputeFields()
771 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
DHebrewCalendar.java773 int dayOfYear = (int)(d - ys); in handleComputeFields() local
776 while (dayOfYear < 1) { in handleComputeFields()
779 dayOfYear = (int)(d - ys); in handleComputeFields()
787 while (dayOfYear > monthStart[month][yearType]) { in handleComputeFields()
791 int dayOfMonth = dayOfYear - monthStart[month][yearType]; in handleComputeFields()
798 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
DSimpleDateRule.java121 int dayOfYear = c.get(Calendar.DAY_OF_YEAR); in isOn() local
128 return c.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
DEasterHoliday.java174 int dayOfYear = calendar.get(Calendar.DAY_OF_YEAR); in isOn() local
178 return calendar.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DPersianCalendar.java420 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
426 dayOfYear = (int)(daysSinceEpoch - farvardin1); // 0-based in handleComputeFields()
427 if (dayOfYear < 216) { // Compute 0-based month in handleComputeFields()
428 month = dayOfYear / 31; in handleComputeFields()
430 month = (dayOfYear - 6) / 30; in handleComputeFields()
432 dayOfMonth = dayOfYear - MONTH_COUNT[month][2] + 1; in handleComputeFields()
433 ++dayOfYear; // Make it 1-based now in handleComputeFields()
440 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
DGregorianCalendar.java759 int eyear, month, dayOfMonth, dayOfYear; in handleComputeFields() local
764 dayOfYear = getGregorianDayOfYear(); in handleComputeFields()
774 dayOfYear = (int)(julianEpochDay - january1); // 0-based in handleComputeFields()
787 if (dayOfYear >= march1) { in handleComputeFields()
790 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in handleComputeFields()
791 dayOfMonth = dayOfYear - MONTH_COUNT[month][isLeap?3:2] + 1; // one-based DOM in handleComputeFields()
792 ++dayOfYear; in handleComputeFields()
796 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
DHebrewCalendar.java807 int dayOfYear = (int)(d - ys); in handleComputeFields() local
810 while (dayOfYear < 1) { in handleComputeFields()
813 dayOfYear = (int)(d - ys); in handleComputeFields()
821 while (dayOfYear > monthStart[month][yearType]) { in handleComputeFields()
825 int dayOfMonth = dayOfYear - monthStart[month][yearType]; in handleComputeFields()
832 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
DSimpleDateRule.java122 int dayOfYear = c.get(Calendar.DAY_OF_YEAR); in isOn() local
129 return c.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
DEasterHoliday.java172 int dayOfYear = calendar.get(Calendar.DAY_OF_YEAR); in isOn() local
176 return calendar.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
/third_party/icu/icu4c/source/i18n/
Dpersncal.cpp213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
219 dayOfYear = (daysSinceEpoch - farvardin1); // 0-based in handleComputeFields()
220 if (dayOfYear < 216) { // Compute 0-based month in handleComputeFields()
221 month = dayOfYear / 31; in handleComputeFields()
223 month = (dayOfYear - 6) / 30; in handleComputeFields()
225 dayOfMonth = dayOfYear - kPersianNumDays[month] + 1; in handleComputeFields()
226 ++dayOfYear; // Make it 1-based now in handleComputeFields()
233 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
Dgregocal.cpp369 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; in handleComputeFields() local
385 dayOfYear = getGregorianDayOfYear(); in handleComputeFields()
395 dayOfYear = (julianEpochDay - january1); // 0-based in handleComputeFields()
408 if (dayOfYear >= march1) { in handleComputeFields()
411 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in handleComputeFields()
412 dayOfMonth = dayOfYear - (isLeap?kLeapNumDays[month]:kNumDays[month]) + 1; // one-based DOM in handleComputeFields()
413 ++dayOfYear; in handleComputeFields()
421 __FILE__, __LINE__, dayOfYear, getGregorianDayOfYear(), fCutoverJulianDay); in handleComputeFields()
432 __FILE__, __LINE__,gregShift, dayOfYear, dayOfYear+gregShift, fCutoverJulianDay); in handleComputeFields()
434 dayOfYear += gregShift; in handleComputeFields()
[all …]
Dhebrwcal.cpp573 int32_t dayOfYear = (d - ys); in handleComputeFields() local
576 while (dayOfYear < 1) { in handleComputeFields()
579 dayOfYear = (d - ys); in handleComputeFields()
588 …while (month < momax && dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month]… in handleComputeFields()
605 … int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]); in handleComputeFields()
612 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dpersncal.cpp213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
219 dayOfYear = (daysSinceEpoch - farvardin1); // 0-based in handleComputeFields()
220 if (dayOfYear < 216) { // Compute 0-based month in handleComputeFields()
221 month = dayOfYear / 31; in handleComputeFields()
223 month = (dayOfYear - 6) / 30; in handleComputeFields()
225 dayOfMonth = dayOfYear - kPersianNumDays[month] + 1; in handleComputeFields()
226 ++dayOfYear; // Make it 1-based now in handleComputeFields()
233 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
Dgregocal.cpp369 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; in handleComputeFields() local
385 dayOfYear = getGregorianDayOfYear(); in handleComputeFields()
395 dayOfYear = (julianEpochDay - january1); // 0-based in handleComputeFields()
408 if (dayOfYear >= march1) { in handleComputeFields()
411 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in handleComputeFields()
412 dayOfMonth = dayOfYear - (isLeap?kLeapNumDays[month]:kNumDays[month]) + 1; // one-based DOM in handleComputeFields()
413 ++dayOfYear; in handleComputeFields()
421 __FILE__, __LINE__, dayOfYear, getGregorianDayOfYear(), fCutoverJulianDay); in handleComputeFields()
432 __FILE__, __LINE__,gregShift, dayOfYear, dayOfYear+gregShift, fCutoverJulianDay); in handleComputeFields()
434 dayOfYear += gregShift; in handleComputeFields()
[all …]
Dhebrwcal.cpp572 int32_t dayOfYear = (d - ys); in handleComputeFields() local
575 while (dayOfYear < 1) { in handleComputeFields()
578 dayOfYear = (d - ys); in handleComputeFields()
587 …while (month < momax && dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month]… in handleComputeFields()
604 … int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]); in handleComputeFields()
611 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
/third_party/node/deps/icu-small/source/i18n/
Dpersncal.cpp213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
219 dayOfYear = (daysSinceEpoch - farvardin1); // 0-based in handleComputeFields()
220 if (dayOfYear < 216) { // Compute 0-based month in handleComputeFields()
221 month = dayOfYear / 31; in handleComputeFields()
223 month = (dayOfYear - 6) / 30; in handleComputeFields()
225 dayOfMonth = dayOfYear - kPersianNumDays[month] + 1; in handleComputeFields()
226 ++dayOfYear; // Make it 1-based now in handleComputeFields()
233 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
Dgregocal.cpp369 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; in handleComputeFields() local
385 dayOfYear = getGregorianDayOfYear(); in handleComputeFields()
395 dayOfYear = (julianEpochDay - january1); // 0-based in handleComputeFields()
408 if (dayOfYear >= march1) { in handleComputeFields()
411 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in handleComputeFields()
412 dayOfMonth = dayOfYear - (isLeap?kLeapNumDays[month]:kNumDays[month]) + 1; // one-based DOM in handleComputeFields()
413 ++dayOfYear; in handleComputeFields()
421 __FILE__, __LINE__, dayOfYear, getGregorianDayOfYear(), fCutoverJulianDay); in handleComputeFields()
432 __FILE__, __LINE__,gregShift, dayOfYear, dayOfYear+gregShift, fCutoverJulianDay); in handleComputeFields()
434 dayOfYear += gregShift; in handleComputeFields()
[all …]
Dhebrwcal.cpp573 int32_t dayOfYear = (d - ys); in handleComputeFields() local
576 while (dayOfYear < 1) { in handleComputeFields()
579 dayOfYear = (d - ys); in handleComputeFields()
588 …while (month < momax && dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month]… in handleComputeFields()
605 … int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]); in handleComputeFields()
612 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
/third_party/skia/third_party/externals/icu/source/i18n/
Dpersncal.cpp213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
219 dayOfYear = (daysSinceEpoch - farvardin1); // 0-based in handleComputeFields()
220 if (dayOfYear < 216) { // Compute 0-based month in handleComputeFields()
221 month = dayOfYear / 31; in handleComputeFields()
223 month = (dayOfYear - 6) / 30; in handleComputeFields()
225 dayOfMonth = dayOfYear - kPersianNumDays[month] + 1; in handleComputeFields()
226 ++dayOfYear; // Make it 1-based now in handleComputeFields()
233 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
Dgregocal.cpp369 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; in handleComputeFields() local
385 dayOfYear = getGregorianDayOfYear(); in handleComputeFields()
395 dayOfYear = (julianEpochDay - january1); // 0-based in handleComputeFields()
408 if (dayOfYear >= march1) { in handleComputeFields()
411 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in handleComputeFields()
412 dayOfMonth = dayOfYear - (isLeap?kLeapNumDays[month]:kNumDays[month]) + 1; // one-based DOM in handleComputeFields()
413 ++dayOfYear; in handleComputeFields()
421 __FILE__, __LINE__, dayOfYear, getGregorianDayOfYear(), fCutoverJulianDay); in handleComputeFields()
432 __FILE__, __LINE__,gregShift, dayOfYear, dayOfYear+gregShift, fCutoverJulianDay); in handleComputeFields()
434 dayOfYear += gregShift; in handleComputeFields()
[all …]
Dhebrwcal.cpp573 int32_t dayOfYear = (d - ys); in handleComputeFields() local
576 while (dayOfYear < 1) { in handleComputeFields()
579 dayOfYear = (d - ys); in handleComputeFields()
588 …while (month < momax && dayOfYear > ( isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month]… in handleComputeFields()
605 … int dayOfMonth = dayOfYear - (isLeap ? LEAP_MONTH_START[month][type] : MONTH_START[month][type]); in handleComputeFields()
612 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java131 int dayOfYear = (int)rem[0]; in dayToFields() local
133 dayOfYear = 365; // Dec 31 at end of 4- or 400-yr cycle in dayToFields()
142 if (dayOfYear >= march1) { in dayToFields()
145 int month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in dayToFields()
146 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM in dayToFields()
151 dayOfYear++; // 1-based day of year in dayToFields()
157 fields[4] = dayOfYear; in dayToFields()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DGrego.java133 int dayOfYear = (int)rem[0]; in dayToFields() local
135 dayOfYear = 365; // Dec 31 at end of 4- or 400-yr cycle in dayToFields()
144 if (dayOfYear >= march1) { in dayToFields()
147 int month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in dayToFields()
148 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM in dayToFields()
153 dayOfYear++; // 1-based day of year in dayToFields()
159 fields[4] = dayOfYear; in dayToFields()
/third_party/icu/icu4c/source/data/locales/
Dyo_BJ.txt283 dayOfYear{
286 dayOfYear-narrow{
289 dayOfYear-short{

12345678910>>...15