/frameworks/base/core/java/android/text/format/ |
Time.java | 111 public long gmtoff; field in class:Time 198 * to April 1. It also fills in weekDay, yearDay, isDst and gmtoff. 284 this.gmtoff = 0; 395 * <code>yearDay</code>, and <code>gmtoff</code> are always set to zero, 567 this.gmtoff = that.gmtoff; 571 * Sets the fields. Sets weekDay, yearDay and gmtoff to 0, and isDst to -1. 585 this.gmtoff = 0; 590 * Sets weekDay, yearDay and gmtoff to 0, and isDst to -1. 608 this.gmtoff = 0 [all...] |
DateUtils.java | 429 int startDay = Time.getJulianDay(day, startTime.gmtoff); 433 int currentDay = Time.getJulianDay(today, currentTime.gmtoff); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 56 time.gmtoff = other.gmtoff; 73 public static int getJulianDay(long millis, long gmtoff) { 74 long offsetMillis = gmtoff * 1000; 90 int approximateDay = getJulianDay(millis, time.gmtoff); 133 time.gmtoff = 0; 156 time.gmtoff = 0; 234 String sign = (time.gmtoff < 0) ? "-" : "+"; 235 int offset = (int) Math.abs(time.gmtoff);
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 38 // + "( " + t.isDst + ',' + t.gmtoff 369 t.gmtoff != 0) { 376 t.gmtoff != 0) { 383 t.gmtoff != 0) { 390 t.gmtoff != 0) { 397 t.gmtoff != 0) { 405 t.gmtoff != 0) { 413 t.gmtoff != 0) { 543 int julianDay = Time.getJulianDay(millis, time.gmtoff); 551 int day = Time.getJulianDay(millis, time.gmtoff); [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TimeTest.java | 98 assertEquals(0, t.gmtoff); 204 int julianDay = Time.getJulianDay(millis, time.gmtoff); 212 int day = Time.getJulianDay(millis, time.gmtoff); 226 int julianDay = Time.getJulianDay(millis, time.gmtoff); 234 int day = Time.getJulianDay(millis, time.gmtoff);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertUtils.java | 159 int today = Time.getJulianDay(time.toMillis(false), time.gmtoff); 161 int eventDay = Time.getJulianDay(time.toMillis(false), allDay ? 0 : time.gmtoff); 323 int startDay = Time.getJulianDay(startMillis, timeObj.gmtoff); 325 return Time.getJulianDay(endMillis, timeObj.gmtoff) - startDay;
|
AlarmScheduler.java | 134 long localOffset = time.gmtoff * 1000;
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekFragment.java | 205 mFirstLoadedJulianDay = Time.getJulianDay(first, mTempTime.gmtoff); 207 mLastLoadedJulianDay = Time.getJulianDay(last, mTempTime.gmtoff); 275 Time.getJulianDay(mSelectedDay.toMillis(true), mSelectedDay.gmtoff)); 351 Time.getJulianDay(mSelectedDay.toMillis(true), mSelectedDay.gmtoff) 430 Time.getJulianDay(event.selectedTime.toMillis(true), event.selectedTime.gmtoff) 431 - Time.getJulianDay(mFirstVisibleDay.toMillis(true), mFirstVisibleDay.gmtoff)
|
SimpleDayPickerFragment.java | 206 Time.getJulianDay(mSelectedDay.toMillis(false), mSelectedDay.gmtoff)); 404 Time.getJulianDay(millis, mTempTime.gmtoff), mFirstDayOfWeek); 448 Time.getJulianDay(millis, mFirstDayOfMonth.gmtoff), mFirstDayOfWeek);
|
MonthListView.java | 170 int scrollToDay = Time.getJulianDay(timeInMillis, mTempTime.gmtoff)
|
SimpleWeeksAdapter.java | 169 Time.getJulianDay(millis, mSelectedDay.gmtoff), mFirstDayOfWeek);
|
MonthByWeekAdapter.java | 126 Time.getJulianDay(millis, mSelectedDay.gmtoff), mFirstDayOfWeek);
|
SimpleWeekView.java | 273 mFirstJulianDay = Time.getJulianDay(time.toMillis(true), time.gmtoff);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 99 assertEquals(time.gmtoff, anotherTime.gmtoff); 483 assertEquals(0, t.gmtoff); 683 int julianDay = Time.getJulianDay(millis, time.gmtoff); 691 int day = Time.getJulianDay(millis, time.gmtoff); 720 int julianDay = Time.getJulianDay(millis, time.gmtoff); 735 int day = Time.getJulianDay(millis, time.gmtoff); 737 Log.i(TAG, "Error: gmtoff " + (time.gmtoff / 3600.0) + " day "
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
zic.c | 124 static int addtype(long gmtoff, long rawoff, long dstoff, 128 static int addtype(long gmtoff, const char * abbr, int isdst, 174 long dstoff, long gmtoff); 2105 register long gmtoff; local [all...] |
/external/icu4c/tools/tzcode/ |
zic.c | 124 static int addtype(long gmtoff, long rawoff, long dstoff, 128 static int addtype(long gmtoff, const char * abbr, int isdst, 174 long dstoff, long gmtoff); 2105 register long gmtoff; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarViewAdapter.java | 114 mTodayJulianDay = Time.getJulianDay(now, time.gmtoff); 316 long julianDay = Time.getJulianDay(mMilliTime,t.gmtoff);
|
Utils.java | [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaWindowAdapter.java | 566 int day = Time.getJulianDay(timeInMillis, tmpTime.gmtoff); 698 int startDay = Time.getJulianDay(goToTime.toMillis(false), goToTime.gmtoff); [all...] |
AgendaListView.java | 137 int todayJulianDay = Time.getJulianDay(now, time.gmtoff);
|
AgendaByDayAdapter.java | 306 mTodayJulianDay = Time.getJulianDay(now, tempTime.gmtoff);
|
/frameworks/base/services/java/com/android/server/ |
TwilightService.java | 444 (currentTime.gmtoff - (currentTime.isDst > 0 ? 3600 : 0));
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetModel.java | 254 time.setToNow(); // This is needed for gmtoff to be set 255 mTodayJulianDay = Time.getJulianDay(mNow, time.gmtoff);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 328 long localOffset = time.gmtoff * 1000;
|
CalendarInstancesHelper.java | [all...] |