/frameworks/base/core/java/android/text/format/ |
Time.java | 130 public long gmtoff; field in class:Time 210 * to April 1. It also fills in weekDay, yearDay, isDst and gmtoff. 308 this.gmtoff = 0; 379 * <code>yearDay</code>, and <code>gmtoff</code> are always set to zero, 478 gmtoff = 0; 666 this.gmtoff = 0; 777 this.gmtoff = that.gmtoff; 781 * Sets the fields. Sets weekDay, yearDay and gmtoff to 0, and isDst to -1. 795 this.gmtoff = 0 [all...] |
DateUtils.java | 428 int startDay = Time.getJulianDay(day, startTime.gmtoff); 432 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...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CalendarInteractionUtils.java | 46 if (singleDayEvent(localStartMillis, localEndMillis, currentTime.gmtoff)) { 49 localStartMillis, currentMillis, currentTime.gmtoff); 64 if (singleDayEvent(startMillis, endMillis, currentTime.gmtoff)) { 71 currentMillis, currentTime.gmtoff);
|
/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);
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/ |
Time_Delegate.java | 57 // gmtoff is in seconds and TimeZone.getOffset() returns milliseconds. 58 time.gmtoff = c.getTimeZone().getOffset(c.getTimeInMillis()) / DateUtils.SECOND_IN_MILLIS;
|
/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);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
DateUtils.java | 284 int startDay = Time.getJulianDay(date1, time.gmtoff); 287 int currentDay = Time.getJulianDay(date2, time.gmtoff);
|
/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/icu/icu4c/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...] |
/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...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 121 assertEquals(time.gmtoff, anotherTime.gmtoff); 602 assertEquals(0, t.gmtoff); [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | [all...] |
/frameworks/base/services/core/java/com/android/server/twilight/ |
TwilightService.java | 342 (currentTime.gmtoff - (currentTime.isDst > 0 ? 3600 : 0));
|
/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);
|