/external/chromium_org/third_party/icu/source/i18n/ |
astro.h | 483 /*public*/ void getSunLongitude(double julianDay, double &longitude, double &meanAnomaly); 705 double julianDay;
|
indiancal.cpp | 143 double julianDay = (JULIAN_EPOCH - 1) + 154 return julianDay; 291 void IndianCalendar::handleComputeFields(int32_t julianDay, UErrorCode& /* status */) { 297 gregorianYear = jdToGregorian(julianDay, gd)[0]; // Gregorian date for Julian day 300 yday = (int32_t)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (starting from 0)
|
chnsecal.cpp | 229 void ChineseCalendar::handleComputeFields(int32_t julianDay, UErrorCode &/*status*/) { 231 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days 302 int32_t julianDay = newMoon + kEpochStartAsJulianDay; 312 nonConstThis->computeGregorianFields(julianDay, status); 323 julianDay = newMoon + kEpochStartAsJulianDay; 329 return julianDay - 1;
|
gregocal.cpp | 366 void GregorianCalendar::handleComputeFields(int32_t julianDay, UErrorCode& status) { 376 __FILE__, __LINE__, julianDay, getGregorianDayOfYear(), fCutoverJulianDay); 380 if (julianDay >= fCutoverJulianDay) { 388 int32_t julianEpochDay = julianDay - (kJan1_1JulianDay - 2); 415 // __FILE__, __LINE__,julianDay, 425 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) { 543 int32_t julianDay = 365*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3); 560 __FILE__, __LINE__, eyear, month, julianDay, gregShift); 562 julianDay += gregShift; 565 // At this point julianDay indicates the day BEFORE the firs [all...] |
calendar.cpp | [all...] |
/external/icu4c/i18n/ |
astro.h | 483 /*public*/ void getSunLongitude(double julianDay, double &longitude, double &meanAnomaly); 705 double julianDay;
|
indiancal.cpp | 143 double julianDay = (JULIAN_EPOCH - 1) + 154 return julianDay; 291 void IndianCalendar::handleComputeFields(int32_t julianDay, UErrorCode& /* status */) { 297 gregorianYear = jdToGregorian(julianDay, gd)[0]; // Gregorian date for Julian day 300 yday = (int32_t)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (starting from 0)
|
persncal.cpp | 173 int32_t julianDay = PERSIAN_EPOCH - 1 + 365 * (eyear - 1) + ClockMath::floorDivide(8 * eyear + 21, 33); 176 julianDay += kPersianNumDays[month]; 179 return julianDay; 210 void PersianCalendar::handleComputeFields(int32_t julianDay, UErrorCode &/*status*/) { 213 int32_t daysSinceEpoch = julianDay - PERSIAN_EPOCH;
|
chnsecal.cpp | 268 void ChineseCalendar::handleComputeFields(int32_t julianDay, UErrorCode &/*status*/) { 270 computeChineseFields(julianDay - kEpochStartAsJulianDay, // local days 341 int32_t julianDay = newMoon + kEpochStartAsJulianDay; 351 nonConstThis->computeGregorianFields(julianDay, status); 362 julianDay = newMoon + kEpochStartAsJulianDay; 368 return julianDay - 1; [all...] |
gregocal.cpp | 366 void GregorianCalendar::handleComputeFields(int32_t julianDay, UErrorCode& status) { 376 __FILE__, __LINE__, julianDay, getGregorianDayOfYear(), fCutoverJulianDay); 380 if (julianDay >= fCutoverJulianDay) { 388 int32_t julianEpochDay = julianDay - (kJan1_1JulianDay - 2); 415 // __FILE__, __LINE__,julianDay, 425 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) { 543 int32_t julianDay = 365*y + ClockMath::floorDivide(y, 4) + (kJan1_1JulianDay - 3); 560 __FILE__, __LINE__, eyear, month, julianDay, gregShift); 562 julianDay += gregShift; 565 // At this point julianDay indicates the day BEFORE the firs [all...] |
calendar.cpp | [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TimeTest.java | 204 int julianDay = Time.getJulianDay(millis, time.gmtoff); 214 assertEquals(day, julianDay); 226 int julianDay = Time.getJulianDay(millis, time.gmtoff); 227 time.setJulianDay(julianDay); 236 assertEquals(day, julianDay);
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 543 int julianDay = Time.getJulianDay(millis, time.gmtoff); 552 if (day != julianDay) { 555 + " != today's Julian day: " + julianDay 558 assertEquals(day, julianDay); 582 int julianDay = Time.getJulianDay(millis, time.gmtoff); 584 time.setJulianDay(julianDay); 598 if (day != julianDay) { 600 + " day " + julianDay 604 assertEquals(day, julianDay);
|
/libcore/luni/src/main/java/libcore/icu/ |
DateIntervalFormat.java | 95 ((flags & FORMAT_SHOW_TIME) == 0 || julianDay(startCalendar) == julianDay(endCalendar))) { 227 private static int julianDay(Calendar c) {
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaAdapter.java | 80 int julianDay;
|
AgendaByDayAdapter.java | 60 int julianDay; 194 holder.julianDay = row.mDay; 205 holder.julianDay = row.mDay; 281 holder.julianDay = row.mDay; 450 RowInfo(int type, int julianDay, int position, long id, long startTime, long endTime, 453 mDay = julianDay; 463 RowInfo(int type, int julianDay) { 465 mDay = julianDay;
|
AgendaFragment.java | 455 int julianDay = mAgendaListView.getJulianDayFromPosition(firstVisibleItem 458 if (julianDay == 0) { 462 if (mJulianDayOnTop != julianDay) { 463 mJulianDayOnTop = julianDay;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 75 long julianDay = (millis + offsetMillis) / DAY_IN_MILLIS; 76 return (int) julianDay + Time.EPOCH_JULIAN_DAY; 80 public long setJulianDay(int julianDay) { 84 //long millis = (julianDay - EPOCH_JULIAN_DAY) * DateUtils.DAY_IN_MILLIS; 85 long millis = (julianDay - Time.EPOCH_JULIAN_DAY) * DAY_IN_MILLIS; 91 int diff = julianDay - approximateDay;
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarViewAdapter.java | 316 long julianDay = Time.getJulianDay(mMilliTime,t.gmtoff); 320 if (julianDay == mTodayJulianDay) { 324 } else if (julianDay == mTodayJulianDay - 1) { 328 } else if (julianDay == mTodayJulianDay + 1) {
|
AllInOneActivity.java | [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeeksAdapter.java | 150 int julianDay = params.get(WEEK_PARAMS_JULIAN_DAY); 151 mSelectedDay.setJulianDay(julianDay); 152 mSelectedWeek = Utils.getWeeksSinceEpochFromJulianDay(julianDay, mFirstDayOfWeek);
|
SimpleDayPickerFragment.java | 237 int julianDay = child.getFirstJulianDay(); 238 mFirstVisibleDay.setJulianDay(julianDay); 240 mTempTime.setJulianDay(julianDay + DAYS_PER_WEEK); 542 int julianDay = child.getFirstJulianDay(); 547 julianDay += DAYS_PER_WEEK; 549 mTempTime.setJulianDay(julianDay);
|
MonthByWeekFragment.java | 177 int julianDay = child.getFirstJulianDay(); 178 mFirstLoadedJulianDay = julianDay;
|
/frameworks/base/core/java/android/text/format/ |
Time.java | 734 long julianDay = (millis + offsetMillis) / DateUtils.DAY_IN_MILLIS; 735 return (int) julianDay + EPOCH_JULIAN_DAY; 755 * @param julianDay the Julian day in the timezone for this Time object 758 public long setJulianDay(int julianDay) { 762 long millis = (julianDay - EPOCH_JULIAN_DAY) * DateUtils.DAY_IN_MILLIS; 768 int diff = julianDay - approximateDay; 786 * @param julianDay The julian day to calculate the week number for 791 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { 797 return (julianDay - refDay) / 7;
|
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 683 int julianDay = Time.getJulianDay(millis, time.gmtoff); 692 if (day != julianDay) { 694 + time.minute + " != today's Julian day: " + julianDay 697 assertEquals(day, julianDay); 720 int julianDay = Time.getJulianDay(millis, time.gmtoff); 722 time.setJulianDay(julianDay); 736 if (day != julianDay) { 738 + julianDay + " millis " + millis + " " + time.format("%B %d, %Y") 741 assertEquals(day, julianDay);
|