Home
last modified time | relevance | path

Searched refs:gregorianToJD (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIndianCalendar.java366 jdAtStartOfGregYear = gregorianToJD(gregorianDay[0], 1, 1); // JD at start of Gregorian year in handleComputeFields()
477 start = gregorianToJD(gyear, 3, 21); in IndianToJD()
480 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
507 private static double gregorianToJD(int year, int month, int date) { in gregorianToJD() method in IndianCalendar
545 yearday = wjd - gregorianToJD(year, 1, 1); in jdToGregorian()
546 leapadj = ((wjd < gregorianToJD(year, 3, 1)) ? 0 in jdToGregorian()
552 day = (int)(wjd - gregorianToJD(year, month, 1)) + 1; in jdToGregorian()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DIndianCalendar.java339 jdAtStartOfGregYear = gregorianToJD(gregorianDay[0], 1, 1); // JD at start of Gregorian year in handleComputeFields()
448 start = gregorianToJD(gyear, 3, 21); in IndianToJD()
451 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
478 private static double gregorianToJD(int year, int month, int date) { in gregorianToJD() method in IndianCalendar
516 yearday = wjd - gregorianToJD(year, 1, 1); in jdToGregorian()
517 leapadj = ((wjd < gregorianToJD(year, 3, 1)) ? 0 in jdToGregorian()
523 day = (int)(wjd - gregorianToJD(year, month, 1)) + 1; in jdToGregorian()
/external/icu/icu4c/source/i18n/
Dindiancal.cpp143 static double gregorianToJD(int32_t year, int32_t month, int32_t date) { in gregorianToJD() function
178 yearday = wjd - gregorianToJD(year, 1, 1); in jdToGregorian()
179 leapadj = ((wjd < gregorianToJD(year, 3, 1)) ? 0 in jdToGregorian()
184 day = (int32_t)(wjd - gregorianToJD(year, month, 1)) + 1; in jdToGregorian()
206 start = gregorianToJD(gyear, 3, 21); in IndianToJD()
210 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
300 jdAtStartOfGregYear = gregorianToJD(gregorianYear, 1, 1); // JD at start of Gregorian year in handleComputeFields()