/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | PersianCalendar.java | 375 int julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + floorDivide(8 * eyear + 21, 33); in handleComputeMonthStart() local 377 julianDay += MONTH_COUNT[month][2]; in handleComputeMonthStart() 379 return julianDay; in handleComputeMonthStart() 419 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 422 long daysSinceEpoch = julianDay - PERSIAN_EPOCH; in handleComputeFields()
|
D | GregorianCalendar.java | 758 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 761 if (julianDay >= cutoverJulianDay) { in handleComputeFields() 769 long julianEpochDay = julianDay - (JAN_1_1_JULIAN_DAY - 2); in handleComputeFields() 865 int julianDay = 365*y + floorDivide(y, 4) + (JAN_1_1_JULIAN_DAY - 3); in handleComputeMonthStart() local 875 julianDay += floorDivide(y, 400) - floorDivide(y, 100) + 2; in handleComputeMonthStart() 883 julianDay += MONTH_COUNT[month][isLeap?3:2]; in handleComputeMonthStart() 886 return julianDay; in handleComputeMonthStart()
|
D | ChineseCalendar.java | 830 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 832 computeChineseFields(julianDay - EPOCH_JULIAN_DAY, // local days in handleComputeFields() 988 int julianDay = newMoon + EPOCH_JULIAN_DAY; in handleComputeMonthStart() local 997 computeGregorianFields(julianDay); in handleComputeMonthStart() 1006 julianDay = newMoon + EPOCH_JULIAN_DAY; in handleComputeMonthStart() 1012 return julianDay - 1; in handleComputeMonthStart()
|
D | BuddhistCalendar.java | 220 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 221 super.handleComputeFields(julianDay); in handleComputeFields()
|
D | TaiwanCalendar.java | 218 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 219 super.handleComputeFields(julianDay); in handleComputeFields()
|
D | CopticCalendar.java | 272 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 275 jdToCE(julianDay, getJDEpochOffset(), fields); in handleComputeFields()
|
D | CECalendar.java | 260 public static void jdToCE(int julianDay, int jdEpochOffset, int[] fields) { in jdToCE() argument 264 c4 = floorDivide(julianDay - jdEpochOffset, 1461, r4); in jdToCE()
|
D | IndianCalendar.java | 359 protected void handleComputeFields(int julianDay){ in handleComputeFields() argument 364 gregorianDay = jdToGregorian(julianDay); // Gregorian date for Julian day in handleComputeFields() 367 …yday = (int)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (start… in handleComputeFields()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | PersianCalendar.java | 378 int julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + floorDivide(8 * eyear + 21, 33); in handleComputeMonthStart() local 380 julianDay += MONTH_COUNT[month][2]; in handleComputeMonthStart() 382 return julianDay; in handleComputeMonthStart() 422 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 425 long daysSinceEpoch = julianDay - PERSIAN_EPOCH; in handleComputeFields()
|
D | GregorianCalendar.java | 733 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 736 if (julianDay >= cutoverJulianDay) { in handleComputeFields() 744 long julianEpochDay = julianDay - (JAN_1_1_JULIAN_DAY - 2); in handleComputeFields() 837 int julianDay = 365*y + floorDivide(y, 4) + (JAN_1_1_JULIAN_DAY - 3); in handleComputeMonthStart() local 847 julianDay += floorDivide(y, 400) - floorDivide(y, 100) + 2; in handleComputeMonthStart() 855 julianDay += MONTH_COUNT[month][isLeap?3:2]; in handleComputeMonthStart() 858 return julianDay; in handleComputeMonthStart()
|
D | ChineseCalendar.java | 811 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 813 computeChineseFields(julianDay - EPOCH_JULIAN_DAY, // local days in handleComputeFields() 968 int julianDay = newMoon + EPOCH_JULIAN_DAY; in handleComputeMonthStart() local 977 computeGregorianFields(julianDay); in handleComputeMonthStart() 986 julianDay = newMoon + EPOCH_JULIAN_DAY; in handleComputeMonthStart() 992 return julianDay - 1; in handleComputeMonthStart()
|
D | BuddhistCalendar.java | 207 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 208 super.handleComputeFields(julianDay); in handleComputeFields()
|
D | TaiwanCalendar.java | 204 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 205 super.handleComputeFields(julianDay); in handleComputeFields()
|
D | CopticCalendar.java | 251 protected void handleComputeFields(int julianDay) { in handleComputeFields() argument 254 jdToCE(julianDay, getJDEpochOffset(), fields); in handleComputeFields()
|
D | CECalendar.java | 264 public static void jdToCE(int julianDay, int jdEpochOffset, int[] fields) { in jdToCE() argument 268 c4 = floorDivide(julianDay - jdEpochOffset, 1461, r4); in jdToCE()
|
D | IndianCalendar.java | 332 protected void handleComputeFields(int julianDay){ in handleComputeFields() argument 337 gregorianDay = jdToGregorian(julianDay); // Gregorian date for Julian day in handleComputeFields() 340 …yday = (int)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (start… in handleComputeFields()
|
/external/icu/icu4c/source/i18n/ |
D | persncal.cpp | 175 …int32_t julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + ClockMath::floorDivide(8 * eyear + 21,… in handleComputeMonthStart() local 178 julianDay += kPersianNumDays[month]; in handleComputeMonthStart() 181 return julianDay; in handleComputeMonthStart() 212 void PersianCalendar::handleComputeFields(int32_t julianDay, UErrorCode &/*status*/) { in handleComputeFields() argument 215 int32_t daysSinceEpoch = julianDay - PERSIAN_EPOCH; in handleComputeFields()
|
D | gregocal.cpp | 368 void GregorianCalendar::handleComputeFields(int32_t julianDay, UErrorCode& status) { in handleComputeFields() argument 378 __FILE__, __LINE__, julianDay, getGregorianDayOfYear(), fCutoverJulianDay); in handleComputeFields() 382 if (julianDay >= fCutoverJulianDay) { in handleComputeFields() 390 int32_t julianEpochDay = julianDay - (kJan1_1JulianDay - 2); in handleComputeFields() 427 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) { in handleComputeFields() 545 int64_t julianDay = 365*y + ClockMath::floorDivide(y, (int64_t)4) + (kJan1_1JulianDay - 3); in handleComputeMonthStart() local 562 __FILE__, __LINE__, eyear, month, julianDay, gregShift); in handleComputeMonthStart() 564 julianDay += gregShift; in handleComputeMonthStart() 572 julianDay += isLeap?kLeapNumDays[month]:kNumDays[month]; in handleComputeMonthStart() 575 return static_cast<int32_t>(julianDay); in handleComputeMonthStart() [all …]
|
D | indiancal.cpp | 144 double julianDay = (JULIAN_EPOCH - 1) + in gregorianToJD() local 155 return julianDay; in gregorianToJD() 292 void IndianCalendar::handleComputeFields(int32_t julianDay, UErrorCode& /* status */) { in handleComputeFields() argument 298 gregorianYear = jdToGregorian(julianDay, gd)[0]; // Gregorian date for Julian day in handleComputeFields() 301 …yday = (int32_t)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (startin… in handleComputeFields()
|
D | cecal.cpp | 133 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t… in jdToCE() argument 138 c4 = ClockMath::floorDivide(julianDay - jdEpochOffset, 1461, r4); in jdToCE()
|
D | chnsecal.cpp | 266 void ChineseCalendar::handleComputeFields(int32_t julianDay, UErrorCode &/*status*/) { in handleComputeFields() argument 268 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days in handleComputeFields() 339 int32_t julianDay = newMoon + kEpochStartAsJulianDay; in handleComputeMonthStart() local 349 nonConstThis->computeGregorianFields(julianDay, status); in handleComputeMonthStart() 360 julianDay = newMoon + kEpochStartAsJulianDay; in handleComputeMonthStart() 366 return julianDay - 1; in handleComputeMonthStart()
|
D | coptccal.cpp | 78 CopticCalendar::handleComputeFields(int32_t julianDay, UErrorCode &/*status*/) in handleComputeFields() argument 81 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowTime.java | 80 long julianDay = (millis + offsetMillis) / DAY_IN_MILLIS; in getJulianDay() local 81 return (int) julianDay + Time.EPOCH_JULIAN_DAY; in getJulianDay() 85 protected long setJulianDay(int julianDay) { in setJulianDay() argument 90 long millis = (julianDay - Time.EPOCH_JULIAN_DAY) * DAY_IN_MILLIS; in setJulianDay() 96 int diff = julianDay - approximateDay; in setJulianDay()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarAstronomer.java | 300 julianDay = jdn; in setJulianDay() 338 if (julianDay == INVALID) { in getJulianDay() 339 julianDay = (double)(time - JULIAN_EPOCH_MS) / (double)DAY_MS; in getJulianDay() 341 return julianDay; in getJulianDay() 1432 private transient double julianDay = INVALID; 1446 julianDay = INVALID;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CalendarAstronomer.java | 305 julianDay = jdn; in setJulianDay() 343 if (julianDay == INVALID) { in getJulianDay() 344 julianDay = (double)(time - JULIAN_EPOCH_MS) / (double)DAY_MS; in getJulianDay() 346 return julianDay; in getJulianDay() 1438 private transient double julianDay = INVALID; 1452 julianDay = INVALID;
|