/external/icu/icu4c/source/i18n/ |
gregoimp.cpp | 25 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { 30 int64_t ClockMath::floorDivide(int64_t numerator, int64_t denominator) { 35 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, 43 double ClockMath::floorDivide(double dividend, double divisor, 47 double quotient = floorDivide(dividend, divisor); 92 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal 93 ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2 + // => Gregorian cal 109 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 110 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle lengt [all...] |
gregoimp.h | 36 * <code>floorDivide(-1,4)</code> => -1. 41 static int32_t floorDivide(int32_t numerator, int32_t denominator); 47 * <code>floorDivide(-1,4)</code> => -1. 52 static int64_t floorDivide(int64_t numerator, int64_t denominator); 58 * <code>floorDivide(-1,4)</code> => -1. 63 static inline double floorDivide(double numerator, double denominator); 69 * <code>-1%4</code> => -1, but <code>floorDivide(-1,4)</code> => 80 static int32_t floorDivide(double numerator, int32_t denominator, 93 static double floorDivide(double dividend, double divisor, 267 inline double ClockMath::floorDivide(double numerator, double denominator) [all...] |
persncal.cpp | 113 ClockMath::floorDivide(25 * year + 11, 33, remainder); 150 extendedYear += ClockMath::floorDivide(month, 12, month); 172 eyear += ClockMath::floorDivide(month, 12, month); 175 int32_t julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + ClockMath::floorDivide(8 * eyear + 21, 33); 216 year = 1 + (int32_t)ClockMath::floorDivide(33 * (int64_t)daysSinceEpoch + 3, (int64_t)12053); 218 int32_t farvardin1 = 365 * (year - 1) + ClockMath::floorDivide(8 * year + 21, 33);
|
cecal.cpp | 126 + ClockMath::floorDivide(year, 4) // extra day of leap year 138 c4 = ClockMath::floorDivide(julianDay - jdEpochOffset, 1461, r4);
|
gregocal.cpp | 335 int32_t cutoverDay = (int32_t)ClockMath::floorDivide(fGregorianCutover, (double)kOneDay); 391 eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRemainder); 394 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); 540 eyear += ClockMath::floorDivide(month, 12, month); 545 int64_t julianDay = 365*y + ClockMath::floorDivide(y, (int64_t)4) + (kJan1_1JulianDay - 3); 583 extendedYear += ClockMath::floorDivide(month, 12, month); 702 return ClockMath::floorDivide(wallSec, kOneDay/1000.0); 721 double julianDay = 365.0*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3); 790 return (double)kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay); [all...] |
indiancal.cpp | 114 eyear += ClockMath::floorDivide(month, 12, month); 248 eyear += (int32_t)ClockMath::floorDivide(month, 12, month);
|
islamcal.cpp | 374 return (year-1)*354 + ClockMath::floorDivide((3+11*year),30); 397 + (year-1)*354 + (int32_t)ClockMath::floorDivide((3+11*year),30); 453 start = (int32_t)ClockMath::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1; 617 year = (int32_t)ClockMath::floorDivide(30 * (int64_t)days + 10646, (int64_t)10631); 650 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 ); [all...] |
chnsecal.cpp | 331 eyear += (int32_t)ClockMath::floorDivide(m, 12.0, m); 507 return ClockMath::floorDivide(millis + (double)(rawOffset + dstOffset), kOneDay); 510 return ClockMath::floorDivide(millis + (double)CHINA_OFFSET, kOneDay); 730 int32_t cycle = ClockMath::floorDivide(cycle_year - 1, 60, yearOfCycle);
|
astro.cpp | 215 return value - range * ClockMath::floorDivide(value, range); 425 double base = (DAY_MS * ClockMath::floorDivide(fTime + fGmtOffset,(double)DAY_MS)) - fGmtOffset; 756 double noon = ClockMath::floorDivide(fTime + fGmtOffset, (double)DAY_MS)*DAY_MS - fGmtOffset + (12*HOUR_MS); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Grego.java | 100 365 * y + floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal 101 floorDivide(y, 400) - floorDivide(y, 100) + 2 + // => Gregorian cal 113 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder); 127 long n400 = floorDivide(day, 146097, rem); 128 long n100 = floorDivide(rem[0], 36524, rem); 129 long n4 = floorDivide(rem[0], 1461, rem); 130 long n1 = floorDivide(rem[0], 365, rem); 179 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder); 185 public static long floorDivide(long numerator, long denominator) [all...] |
OlsonTimeZone.java | 355 long currentSec = Grego.floorDivide(current, Grego.MILLIS_PER_SECOND); 683 long sec = Grego.floorDivide(date, Grego.MILLIS_PER_SECOND); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Grego.java | 98 365 * y + floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal 99 floorDivide(y, 400) - floorDivide(y, 100) + 2 + // => Gregorian cal 111 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder); 125 long n400 = floorDivide(day, 146097, rem); 126 long n100 = floorDivide(rem[0], 36524, rem); 127 long n4 = floorDivide(rem[0], 1461, rem); 128 long n1 = floorDivide(rem[0], 365, rem); 177 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder); 183 public static long floorDivide(long numerator, long denominator) [all...] |
OlsonTimeZone.java | 353 long currentSec = Grego.floorDivide(current, Grego.MILLIS_PER_SECOND); 681 long sec = Grego.floorDivide(date, Grego.MILLIS_PER_SECOND); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
PersianCalendar.java | 316 floorDivide(25 * year + 11, 33, remainder); 340 extendedYear += floorDivide(month, 12, rem); 374 eyear += floorDivide(month, 12, rem); 378 int julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + floorDivide(8 * eyear + 21, 33); 426 year = 1 + (int) floorDivide(33 * daysSinceEpoch + 3, 12053); 428 long farvardin1 = 365L * (year - 1L) + floorDivide(8L * year + 21, 33L);
|
GregorianCalendar.java | 484 cutoverJulianDay = (int) floorDivide(gregorianCutover, ONE_DAY); 705 extendedYear += floorDivide(month, 12, rem); 745 eyear = (int) floorDivide(4*julianEpochDay + 1464, 1461); 748 long january1 = 365L*(eyear-1L) + floorDivide(eyear-1L, 4L); [all...] |
CECalendar.java | 254 + floorDivide(year, 4) // extra day of leap year 268 c4 = floorDivide(julianDay - jdEpochOffset, 1461, r4);
|
ChineseCalendar.java | 666 return (int) floorDivide(millis + zoneAstro.getOffset(millis), ONE_DAY); [all...] |
Calendar.java | [all...] |
IndianCalendar.java | 314 extendedYear += floorDivide(month, 12, remainder);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
PersianCalendar.java | 313 floorDivide(25 * year + 11, 33, remainder); 337 extendedYear += floorDivide(month, 12, rem); 371 eyear += floorDivide(month, 12, rem); 375 int julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + floorDivide(8 * eyear + 21, 33); 423 year = 1 + (int) floorDivide(33 * daysSinceEpoch + 3, 12053); 425 long farvardin1 = 365L * (year - 1L) + floorDivide(8L * year + 21, 33L);
|
GregorianCalendar.java | 499 cutoverJulianDay = (int) floorDivide(gregorianCutover, ONE_DAY); 728 extendedYear += floorDivide(month, 12, rem); 770 eyear = (int) floorDivide(4*julianEpochDay + 1464, 1461); 773 long january1 = 365L*(eyear-1L) + floorDivide(eyear-1L, 4L); [all...] |
CECalendar.java | 251 + floorDivide(year, 4) // extra day of leap year 264 c4 = floorDivide(julianDay - jdEpochOffset, 1461, r4);
|
ChineseCalendar.java | 684 return (int) floorDivide(millis + zoneAstro.getOffset(millis), ONE_DAY); [all...] |
Calendar.java | [all...] |
IndianCalendar.java | 340 extendedYear += floorDivide(month, 12, remainder);
|