/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | 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(lon method in class:Grego 191 private static long floorDivide(long numerator, long denominator, long[] remainder) { method in class:Grego [all...] |
H A D | OlsonTimeZone.java | 353 long currentSec = Grego.floorDivide(current, Grego.MILLIS_PER_SECOND); 681 long sec = Grego.floorDivide(date, Grego.MILLIS_PER_SECOND);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Grego.java | 96 365 * y + floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal 97 floorDivide(y, 400) - floorDivide(y, 100) + 2 + // => Gregorian cal 109 floorDivide(day + 5 /* Calendar.THURSDAY */, 7, remainder); 123 long n400 = floorDivide(day, 146097, rem); 124 long n100 = floorDivide(rem[0], 36524, rem); 125 long n4 = floorDivide(rem[0], 1461, rem); 126 long n1 = floorDivide(rem[0], 365, rem); 175 long day = floorDivide(time, 24*60*60*1000 /* milliseconds per day */, remainder); 181 public static long floorDivide(lon method in class:Grego 189 private static long floorDivide(long numerator, long denominator, long[] remainder) { method in class:Grego [all...] |
H A D | OlsonTimeZone.java | 351 long currentSec = Grego.floorDivide(current, Grego.MILLIS_PER_SECOND); 679 long sec = Grego.floorDivide(date, Grego.MILLIS_PER_SECOND);
|
/external/icu/icu4c/source/i18n/ |
H A D | gregoimp.h | 34 * <code>floorDivide(-1,4)</code> => -1. 39 static int32_t floorDivide(int32_t numerator, int32_t denominator); 45 * <code>floorDivide(-1,4)</code> => -1. 50 static inline double floorDivide(double numerator, double denominator); 56 * <code>-1%4</code> => -1, but <code>floorDivide(-1,4)</code> => 67 static int32_t floorDivide(double numerator, int32_t denominator, 80 static double floorDivide(double dividend, double divisor, 254 inline double ClockMath::floorDivide(double numerator, double denominator) { function in class:ClockMath 285 return (int32_t) (kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay)); 290 int32_t gregShift = ClockMath::floorDivide( [all...] |
H A D | gregoimp.cpp | 27 int32_t ClockMath::floorDivide(int32_t numerator, int32_t denominator) { function in class:ClockMath 32 int32_t ClockMath::floorDivide(double numerator, int32_t denominator, function in class:ClockMath 40 double ClockMath::floorDivide(double dividend, double divisor, function in class:ClockMath 44 double quotient = floorDivide(dividend, divisor); 89 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal 90 ClockMath::floorDivide(y, 400) - ClockMath::floorDivide(y, 100) + 2 + // => Gregorian cal 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 107 int32_t n100 = ClockMath::floorDivide(doy, 36524, doy); // 100-year cycle length 108 int32_t n4 = ClockMath::floorDivide(do [all...] |
H A D | persncal.cpp | 111 ClockMath::floorDivide(25 * year + 11, 33, remainder); 148 extendedYear += ClockMath::floorDivide(month, 12, month); 170 eyear += ClockMath::floorDivide(month, 12, month); 173 int32_t julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + ClockMath::floorDivide(8 * eyear + 21, 33); 214 year = 1 + ClockMath::floorDivide(33 * daysSinceEpoch + 3, 12053); 216 int32_t farvardin1 = 365 * (year - 1) + ClockMath::floorDivide(8 * year + 21, 33);
|
H A D | cecal.cpp | 124 + ClockMath::floorDivide(year, 4) // extra day of leap year 136 c4 = ClockMath::floorDivide(julianDay - jdEpochOffset, 1461, r4);
|
H A D | gregocal.cpp | 333 int32_t cutoverDay = (int32_t)ClockMath::floorDivide(fGregorianCutover, (double)kOneDay); 389 eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRemainder); 392 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); 538 eyear += ClockMath::floorDivide(month, 12, month); 543 int32_t julianDay = 365*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3); 581 extendedYear += ClockMath::floorDivide(month, 12, month); 700 return ClockMath::floorDivide(wallSec, kOneDay/1000.0); 719 double julianDay = 365.0*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3); 788 return (double)kEpochStartAsJulianDay + ClockMath::floorDivide(millis, (double)kOneDay);
|
H A D | indiancal.cpp | 112 eyear += ClockMath::floorDivide(month, 12, month); 246 eyear += (int32_t)ClockMath::floorDivide(month, 12, month);
|
H A D | islamcal.cpp | 372 return (year-1)*354 + ClockMath::floorDivide((3+11*year),30); 395 + (year-1)*354 + (int32_t)ClockMath::floorDivide((3+11*year),30); 451 start = (int32_t)ClockMath::floorDivide((origin - HIJRA_MILLIS), (double)kOneDay) + 1; 615 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 ); 648 year = (int)ClockMath::floorDivide( (double)(30 * days + 10646) , 10631.0 );
|
H A D | chnsecal.cpp | 329 eyear += (int32_t)ClockMath::floorDivide(m, 12.0, m); 505 return ClockMath::floorDivide(millis + (double)(rawOffset + dstOffset), kOneDay); 508 return ClockMath::floorDivide(millis + (double)CHINA_OFFSET, kOneDay); 728 int32_t cycle = ClockMath::floorDivide(cycle_year - 1, 60, yearOfCycle);
|
H A D | astro.cpp | 213 return value - range * ClockMath::floorDivide(value, range); 423 double base = (DAY_MS * ClockMath::floorDivide(fTime + fGmtOffset,(double)DAY_MS)) - fGmtOffset; 754 double noon = ClockMath::floorDivide(fTime + fGmtOffset, (double)DAY_MS)*DAY_MS - fGmtOffset + (12*HOUR_MS);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | 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 = 365 * (year - 1) + floorDivide(8 * year + 21, 33);
|
H A D | GregorianCalendar.java | 482 cutoverJulianDay = (int) floorDivide(gregorianCutover, ONE_DAY); 703 extendedYear += floorDivide(month, 12, rem); 743 eyear = (int) floorDivide(4*julianEpochDay + 1464, 1461); 746 long january1 = 365*(eyear-1) + floorDivide(eyear-1, 4); 829 eyear += floorDivide(month, 12, rem); 835 int julianDay = 365*y + floorDivide(y, 4) + (JAN_1_1_JULIAN_DAY - 3); 845 julianDay += floorDivide(y, 400) - floorDivide(y, 100) + 2;
|
H A D | CECalendar.java | 252 + floorDivide(year, 4) // extra day of leap year 266 c4 = floorDivide(julianDay - jdEpochOffset, 1461, r4);
|
H A D | ChineseCalendar.java | 664 return (int) floorDivide(millis + zoneAstro.getOffset(millis), ONE_DAY); 888 int cycle = floorDivide(cycle_year-1, 60, yearOfCycle); 958 eyear += floorDivide(month, 12, rem);
|
H A D | Calendar.java | 4795 long days = floorDivide(localMillis, ONE_DAY); 4870 int n400 = floorDivide(gregorianEpochDay, 146097, rem); // 400-year cycle length 4871 int n100 = floorDivide(rem[0], 36524, rem); // 100-year cycle length 4872 int n4 = floorDivide(rem[0], 1461, rem); // 4-year cycle length 4873 int n1 = floorDivide(rem[0], 365, rem); 5752 year += floorDivide(month, 12, rem); 5761 int julianDay = 365*y + floorDivide(y, 4) - floorDivide(y, 100) + 5762 floorDivide(y, 400) + JAN_1_1_JULIAN_DAY - 1; 5943 * but <code>floorDivide( 5948 protected static final long floorDivide(long numerator, long denominator) { method in class:Calendar 5966 protected static final int floorDivide(int numerator, int denominator) { method in class:Calendar 5988 protected static final int floorDivide(int numerator, int denominator, int[] remainder) { method in class:Calendar 6012 protected static final int floorDivide(long numerator, int denominator, int[] remainder) { method in class:Calendar [all...] |
H A D | IndianCalendar.java | 312 extendedYear += floorDivide(month, 12, remainder);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | PersianCalendar.java | 311 floorDivide(25 * year + 11, 33, remainder); 335 extendedYear += floorDivide(month, 12, rem); 369 eyear += floorDivide(month, 12, rem); 373 int julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + floorDivide(8 * eyear + 21, 33); 421 year = 1 + (int) floorDivide(33 * daysSinceEpoch + 3, 12053); 423 long farvardin1 = 365 * (year - 1) + floorDivide(8 * year + 21, 33);
|
H A D | GregorianCalendar.java | 497 cutoverJulianDay = (int) floorDivide(gregorianCutover, ONE_DAY); 726 extendedYear += floorDivide(month, 12, rem); 768 eyear = (int) floorDivide(4*julianEpochDay + 1464, 1461); 771 long january1 = 365*(eyear-1) + floorDivide(eyear-1, 4); 857 eyear += floorDivide(month, 12, rem); 863 int julianDay = 365*y + floorDivide(y, 4) + (JAN_1_1_JULIAN_DAY - 3); 873 julianDay += floorDivide(y, 400) - floorDivide(y, 100) + 2;
|
H A D | CECalendar.java | 249 + floorDivide(year, 4) // extra day of leap year 262 c4 = floorDivide(julianDay - jdEpochOffset, 1461, r4);
|
H A D | ChineseCalendar.java | 682 return (int) floorDivide(millis + zoneAstro.getOffset(millis), ONE_DAY); 907 int cycle = floorDivide(cycle_year-1, 60, yearOfCycle); 978 eyear += floorDivide(month, 12, rem);
|
H A D | Calendar.java | 4958 long days = floorDivide(localMillis, ONE_DAY); 5034 int n400 = floorDivide(gregorianEpochDay, 146097, rem); // 400-year cycle length 5035 int n100 = floorDivide(rem[0], 36524, rem); // 100-year cycle length 5036 int n4 = floorDivide(rem[0], 1461, rem); // 4-year cycle length 5037 int n1 = floorDivide(rem[0], 365, rem); 5938 year += floorDivide(month, 12, rem); 5947 int julianDay = 365*y + floorDivide(y, 4) - floorDivide(y, 100) + 5948 floorDivide(y, 400) + JAN_1_1_JULIAN_DAY - 1; 6139 * but <code>floorDivide( 6145 protected static final long floorDivide(long numerator, long denominator) { method in class:Calendar 6164 protected static final int floorDivide(int numerator, int denominator) { method in class:Calendar 6187 protected static final int floorDivide(int numerator, int denominator, int[] remainder) { method in class:Calendar 6212 protected static final int floorDivide(long numerator, int denominator, int[] remainder) { method in class:Calendar [all...] |
H A D | IndianCalendar.java | 338 extendedYear += floorDivide(month, 12, remainder);
|