Home
last modified time | relevance | path

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

12345

/external/icu/android_icu4j/src/main/java/android/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.java175 int dayOfYear = calendar.get(Calendar.DAY_OF_YEAR); in isOn() local
179 return calendar.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
DCalendar.java4949 int year, month, dayOfMonth, dayOfYear; in computeGregorianFields() local
4964 dayOfYear = rem[0]; // zero-based day of year in computeGregorianFields()
4966 dayOfYear = 365; // Dec 31 at end of 4- or 400-yr cycle in computeGregorianFields()
4976 if (dayOfYear >= march1) correction = isLeap ? 1 : 2; in computeGregorianFields()
4977 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in computeGregorianFields()
4978 dayOfMonth = dayOfYear - in computeGregorianFields()
4984 gregorianDayOfYear = dayOfYear + 1; // Convert from 0-based to 1-based in computeGregorianFields()
5010 int dayOfYear = fields[DAY_OF_YEAR]; in computeWeekFields() local
5023 int relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
5024 int woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields()
[all …]
DIslamicCalendar.java812 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/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.java799 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()
DSimpleDateRule.java125 int dayOfYear = c.get(Calendar.DAY_OF_YEAR); in isOn() local
132 return c.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
DEasterHoliday.java189 int dayOfYear = calendar.get(Calendar.DAY_OF_YEAR); in isOn() local
193 return calendar.get(Calendar.DAY_OF_YEAR) == dayOfYear; in isOn()
DCalendar.java5111 int year, month, dayOfMonth, dayOfYear; in computeGregorianFields() local
5126 dayOfYear = rem[0]; // zero-based day of year in computeGregorianFields()
5128 dayOfYear = 365; // Dec 31 at end of 4- or 400-yr cycle in computeGregorianFields()
5138 if (dayOfYear >= march1) correction = isLeap ? 1 : 2; in computeGregorianFields()
5139 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month in computeGregorianFields()
5140 dayOfMonth = dayOfYear - in computeGregorianFields()
5146 gregorianDayOfYear = dayOfYear + 1; // Convert from 0-based to 1-based in computeGregorianFields()
5172 int dayOfYear = fields[DAY_OF_YEAR]; in computeWeekFields() local
5185 int relDowJan1 = (dayOfWeek - dayOfYear + 7001 - getFirstDayOfWeek()) % 7; // 0..6 in computeWeekFields()
5186 int woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields()
[all …]
DIslamicCalendar.java845 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/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.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()
Dislamcal.cpp608 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/
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()
/external/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()
/external/icu/icu4c/source/data/locales/
Dde_CH.txt37 dayOfYear-short{
Den_GB.txt174 dayOfYear-narrow{
177 dayOfYear-short{
Dkok.txt674 dayOfYear{
677 dayOfYear-narrow{
680 dayOfYear-short{
Dti.txt705 dayOfYear{
708 dayOfYear-narrow{
711 dayOfYear-short{
Den_AU.txt225 dayOfYear-narrow{
228 dayOfYear-short{

12345