/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | PersianCalendar.java | 420 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()
|
D | GregorianCalendar.java | 759 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()
|
D | HebrewCalendar.java | 799 int dayOfYear = (int)(d - ys); in handleComputeFields() local 802 while (dayOfYear < 1) { in handleComputeFields() 805 dayOfYear = (int)(d - ys); in handleComputeFields() 813 while (dayOfYear > monthStart[month][yearType]) { in handleComputeFields() 817 int dayOfMonth = dayOfYear - monthStart[month][yearType]; in handleComputeFields() 824 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
|
D | SimpleDateRule.java | 125 int dayOfYear = c.get(Calendar.DAY_OF_YEAR); in isOn() local 132 return c.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
|
D | EasterHoliday.java | 188 int dayOfYear = calendar.get(Calendar.DAY_OF_YEAR); in isOn() local 192 return calendar.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
|
D | Calendar.java | 5082 int year, month, dayOfMonth, dayOfYear; in computeGregorianFields() local 5097 dayOfYear = rem[0]; // zero-based day of year in computeGregorianFields() 5099 dayOfYear = 365; // Dec 31 at end of 4- or 400-yr cycle in computeGregorianFields() 5109 if (dayOfYear >= march1) correction = isLeap ? 1 : 2; in computeGregorianFields() 5110 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in computeGregorianFields() 5111 dayOfMonth = dayOfYear - in computeGregorianFields() 5117 gregorianDayOfYear = dayOfYear + 1; // Convert from 0-based to 1-based in computeGregorianFields() 5143 int dayOfYear = fields[DAY_OF_YEAR]; in computeWeekFields() local 5156 int relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields() 5157 int woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() [all …]
|
D | IslamicCalendar.java | 845 int year =0, month=0, dayOfMonth=0, dayOfYear=0; in handleComputeFields() local 913 dayOfYear = (int)(days - monthStart(year, 0) + 1); in handleComputeFields() 921 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | PersianCalendar.java | 423 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local 429 dayOfYear = (int)(daysSinceEpoch - farvardin1); // 0-based in handleComputeFields() 430 if (dayOfYear < 216) { // Compute 0-based month in handleComputeFields() 431 month = dayOfYear / 31; in handleComputeFields() 433 month = (dayOfYear - 6) / 30; in handleComputeFields() 435 dayOfMonth = dayOfYear - MONTH_COUNT[month][2] + 1; in handleComputeFields() 436 ++dayOfYear; // Make it 1-based now in handleComputeFields() 443 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
|
D | GregorianCalendar.java | 734 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()
|
D | HebrewCalendar.java | 773 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()
|
D | SimpleDateRule.java | 121 int dayOfYear = c.get(Calendar.DAY_OF_YEAR); in isOn() local 128 return c.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
|
D | EasterHoliday.java | 174 int dayOfYear = calendar.get(Calendar.DAY_OF_YEAR); in isOn() local 178 return calendar.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
|
D | Calendar.java | 4917 int year, month, dayOfMonth, dayOfYear; in computeGregorianFields() local 4932 dayOfYear = rem[0]; // zero-based day of year in computeGregorianFields() 4934 dayOfYear = 365; // Dec 31 at end of 4- or 400-yr cycle in computeGregorianFields() 4944 if (dayOfYear >= march1) correction = isLeap ? 1 : 2; in computeGregorianFields() 4945 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in computeGregorianFields() 4946 dayOfMonth = dayOfYear - in computeGregorianFields() 4952 gregorianDayOfYear = dayOfYear + 1; // Convert from 0-based to 1-based in computeGregorianFields() 4978 int dayOfYear = fields[DAY_OF_YEAR]; in computeWeekFields() local 4991 int relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields() 4992 int woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() [all …]
|
D | IslamicCalendar.java | 812 int year =0, month=0, dayOfMonth=0, dayOfYear=0; in handleComputeFields() local 880 dayOfYear = (int)(days - monthStart(year, 0) + 1); in handleComputeFields() 888 internalSet(DAY_OF_YEAR, dayOfYear); in handleComputeFields()
|
/external/icu/icu4c/source/i18n/ |
D | persncal.cpp | 213 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()
|
D | gregocal.cpp | 369 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 …]
|
D | hebrwcal.cpp | 572 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()
|
D | islamcal.cpp | 608 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local 685 dayOfYear = (days - monthStart(year, 0)) + 1; in handleComputeFields() 693 internalSet(UCAL_DAY_OF_YEAR, dayOfYear); in handleComputeFields()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Grego.java | 133 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()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 131 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()
|
/external/icu/icu4c/source/data/locales/ |
D | ce.txt | 480 dayOfYear{ 483 dayOfYear-narrow{ 486 dayOfYear-short{
|
D | de_CH.txt | 53 dayOfYear-short{
|
D | ti.txt | 705 dayOfYear{ 708 dayOfYear-narrow{ 711 dayOfYear-short{
|
D | kok.txt | 785 dayOfYear{ 788 dayOfYear-narrow{ 791 dayOfYear-short{
|
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/ |
D | TracezZPageHandler.java | 373 int dayOfYear = calendar.get(Calendar.DAY_OF_YEAR); in emitSingleSpan() local 374 if (dayOfYear == lastEntryDayOfYear) { in emitSingleSpan() 382 lastEntryDayOfYear = dayOfYear; in emitSingleSpan()
|