/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
Utils.java | 71 static String toUtcOffsetString(long offsetMillis) { 73 if (offsetMillis < 0) { 75 offsetMillis = Math.abs(offsetMillis); 77 long hours = TimeUnit.MILLISECONDS.toHours(offsetMillis); 78 long minutes = TimeUnit.MILLISECONDS.toMinutes(offsetMillis - TimeUnit.HOURS.toMillis(hours));
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
ShadowZoneGetter.java | 43 TimeZone tz, CharSequence gmtOffsetText, CharSequence displayName, int offsetMillis) { 50 map.put(ZoneGetter.KEY_OFFSET, offsetMillis);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
TimeZoneICU.java | 99 public void setRawOffset(int offsetMillis) { 100 fIcuTz.setRawOffset(offsetMillis);
|
/libcore/luni/src/main/java/libcore/util/ |
CountryTimeZones.java | 347 * @param offsetMillis the offset from UTC at {@code whenMillis} 354 public OffsetResult lookupByOffsetWithBias(int offsetMillis, boolean isDst, long whenMillis, 366 if (!offsetMatchesAtTime(match, offsetMillis, isDst, whenMillis)) { 394 private static boolean offsetMatchesAtTime(TimeZone timeZone, int offsetMillis, boolean isDst, 404 return offsetMillis == (offsets[0] + offsets[1]); 412 * @param offsetMillis the offset from UTC at {@code whenMillis} 413 * @param dstOffsetMillis the part of {@code offsetMillis} contributed by DST, {@code null} 418 public OffsetResult lookupByOffsetWithBias(int offsetMillis, Integer dstOffsetMillis, 430 if (!offsetMatchesAtTime(match, offsetMillis, dstOffsetMillis, whenMillis)) { 458 private static boolean offsetMatchesAtTime(TimeZone timeZone, int offsetMillis, [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/ |
ZoneGetter.java | 130 int offsetMillis = tz.getOffset(now.getTime()); 132 createDisplayEntry(tz, gmtOffsetText, displayName, offsetMillis); 139 TimeZone tz, CharSequence gmtOffsetText, CharSequence displayName, int offsetMillis) { 146 map.put(KEY_OFFSET, offsetMillis); 295 int offsetMillis = tz.getOffset(now.getTime()); 296 final boolean negative = offsetMillis < 0; 299 offsetMillis = -offsetMillis; 307 final int offsetHours = (int) (offsetMillis / DateUtils.HOUR_IN_MILLIS); 308 final int offsetMinutes = (int) (offsetMillis / DateUtils.MINUTE_IN_MILLIS) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneAdapter.java | 106 public void setRawOffset(int offsetMillis) { 107 zone.setRawOffset(offsetMillis);
|
JavaTimeZone.java | 183 public void setRawOffset(int offsetMillis) { 187 javatz.setRawOffset(offsetMillis);
|
OlsonTimeZone.java | 175 public void setRawOffset(int offsetMillis) { 180 if (getRawOffset() == offsetMillis) { 186 SimpleTimeZone stz = new SimpleTimeZone(offsetMillis, getID()); 253 finalZone.setRawOffset(offsetMillis); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TimeZoneAdapter.java | 105 public void setRawOffset(int offsetMillis) { 106 zone.setRawOffset(offsetMillis);
|
JavaTimeZone.java | 181 public void setRawOffset(int offsetMillis) { 185 javatz.setRawOffset(offsetMillis);
|
OlsonTimeZone.java | 173 public void setRawOffset(int offsetMillis) { 178 if (getRawOffset() == offsetMillis) { 184 SimpleTimeZone stz = new SimpleTimeZone(offsetMillis, getID()); 251 finalZone.setRawOffset(offsetMillis); [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/ |
ZonePickerComparatorTest.java | 99 TimeZone tz, CharSequence gmtOffsetText, CharSequence displayName, int offsetMillis) { 106 map.put(ZoneGetter.KEY_OFFSET, offsetMillis);
|
/libcore/luni/src/main/java/libcore/icu/ |
TimeZoneNames.java | 93 int offsetMillis = tz.getRawOffset(); 95 offsetMillis += tz.getDSTSavings(); 98 /* includeGmt */ true, /*includeMinuteSeparator */true, offsetMillis);
|
/external/icu/icu4c/source/i18n/ |
vzone.cpp | 138 vzone_setRawOffset(VZone* zone, int32_t offsetMillis) { 139 return ((VTimeZone*)zone)->VTimeZone::setRawOffset(offsetMillis);
|
vzone.h | 249 * @param offsetMillis The new raw GMT offset for this time zone. 252 vzone_setRawOffset(VZone* zone, int32_t offsetMillis);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
TimeZoneJDK.java | 185 public void setRawOffset(int offsetMillis) { 189 fJdkTz.setRawOffset(offsetMillis);
|
/libcore/ojluni/src/main/java/java/util/ |
TimeZone.java | 261 * @param offsetMillis the given base time zone offset to GMT. 263 abstract public void setRawOffset(int offsetMillis); 413 int offsetMillis = getRawOffset(); 415 offsetMillis += getDSTSavings(); 418 offsetMillis); 431 * @param offsetMillis the offset from UTC 436 boolean includeMinuteSeparator, int offsetMillis) { 437 int offsetMinutes = offsetMillis / 60000;
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowTime.java | 79 long offsetMillis = gmtoff * 1000; 80 long julianDay = (millis + offsetMillis) / DAY_IN_MILLIS;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/testutils/ |
TestHandler.java | 73 // uptimeMillis is an absolute time obtained as SystemClock.uptimeMillis() + offsetMillis
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldTimeZoneTest.java | 44 public void setRawOffset(int offsetMillis) {
|
GregorianCalendarTest.java | 443 public void setRawOffset(int offsetMillis) { 444 timeZone.setRawOffset(offsetMillis);
|
/external/icu/icu4c/source/i18n/unicode/ |
rbtz.h | 205 * @param offsetMillis The new raw GMT offset for this time zone. 208 virtual void setRawOffset(int32_t offsetMillis);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTime.java | 74 long offsetMillis = gmtoff * 1000; 75 long julianDay = (millis + offsetMillis) / DAY_IN_MILLIS;
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneData.java | 294 int offsetMillis = tzi.getNowOffsetMillis(); 295 int index = OFFSET_ARRAY_OFFSET + (int) (offsetMillis / DateUtils.HOUR_IN_MILLIS);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
TimeZone.java | 313 * @param offsetMillis the given base time zone offset to GMT. 316 public void setRawOffset(int offsetMillis) { 320 timeZone.setRawOffset(offsetMillis); [all...] |