Home
last modified time | relevance | path

Searched refs:gregorianYear (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/i18n/
Dindiancal.cpp260 int32_t gregorianYear; // Stores gregorian date corresponding to Julian day; in handleComputeFields() local
263 gregorianYear = jdToGregorian(julianDay, gd)[0]; // Gregorian date for Julian day in handleComputeFields()
264 IndianYear = gregorianYear - INDIAN_ERA_START; // Year in Saka era in handleComputeFields()
265 jdAtStartOfGregYear = gregorianToJD(gregorianYear, 0, 1); // JD at start of Gregorian year in handleComputeFields()
271 …leapMonth = isGregorianLeap(gregorianYear - 1) ? 31 : 30; // Days in leapMonth this year, previous… in handleComputeFields()
274 leapMonth = isGregorianLeap(gregorianYear) ? 31 : 30; // Days in leapMonth this year in handleComputeFields()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DIndianCalendar.java336 … int gregorianYear = getGregorianYear(); // Stores gregorian date corresponding to Julian day; in handleComputeFields() local
337 IndianYear = gregorianYear - INDIAN_ERA_START; // Year in Saka era in handleComputeFields()
339 …jdAtStartOfGregYear = gregorianToJD(gregorianYear, 0 /* first month in 0 base */, 1); // JD at sta… in handleComputeFields()
345 …leapMonth = isGregorianLeapYear(gregorianYear - 1) ? 31 : 30; // Days in leapMonth this year, prev… in handleComputeFields()
348 leapMonth = isGregorianLeapYear(gregorianYear) ? 31 : 30; // Days in leapMonth this year in handleComputeFields()
DCalendar.java1479 private transient int gregorianYear; field in Calendar
4989 gregorianYear = year; in computeGregorianFields()
6043 return gregorianYear; in getGregorianYear()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIndianCalendar.java363 … int gregorianYear = getGregorianYear(); // Stores gregorian date corresponding to Julian day; in handleComputeFields() local
364 IndianYear = gregorianYear - INDIAN_ERA_START; // Year in Saka era in handleComputeFields()
366 …jdAtStartOfGregYear = gregorianToJD(gregorianYear, 0 /* first month in 0 base */, 1); // JD at sta… in handleComputeFields()
372 …leapMonth = isGregorianLeapYear(gregorianYear - 1) ? 31 : 30; // Days in leapMonth this year, prev… in handleComputeFields()
375 leapMonth = isGregorianLeapYear(gregorianYear) ? 31 : 30; // Days in leapMonth this year in handleComputeFields()
DCalendar.java1541 private transient int gregorianYear; field in Calendar
5154 gregorianYear = year; in computeGregorianFields()
6230 return gregorianYear; in getGregorianYear()
/external/icu/icu4c/source/test/intltest/
Dincaltst.cpp197 int32_t gregorianYear = data[i++]; in quasiGregorianTest() local
202 grego->set(gregorianYear, month, dayOfMonth); in quasiGregorianTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java170 int gregorianYear = data[i++]; in quasiGregorianTest() local
175 grego.set(gregorianYear, month, dayOfMonth); in quasiGregorianTest()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIBMCalendarTest.java173 int gregorianYear = data[i++]; in quasiGregorianTest() local
178 grego.set(gregorianYear, month, dayOfMonth); in quasiGregorianTest()