Searched refs:timeZone (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 260 @Override public boolean hasSameRules(TimeZone timeZone) { in hasSameRules() argument 261 if (!(timeZone instanceof ZoneInfo)) { in hasSameRules() 264 ZoneInfo other = (ZoneInfo) timeZone; in hasSameRules() 840 private static int findTransitionIndex(ZoneInfo timeZone, int timeSeconds) { 841 int matchingRawTransition = Arrays.binarySearch(timeZone.mTransitions, timeSeconds); 884 public static OffsetInterval create(ZoneInfo timeZone, int transitionIndex) 887 if (transitionIndex < -1 || transitionIndex >= timeZone.mTransitions.length) { 891 int rawOffsetSeconds = timeZone.mRawOffset / 1000; 893 int endWallTimeSeconds = checkedAdd(timeZone.mTransitions[0], rawOffsetSeconds); 898 byte type = timeZone.mTypes[transitionIndex]; [all …]
|
/libcore/luni/src/main/java/java/util/ |
D | TimeZone.java | 418 public boolean hasSameRules(TimeZone timeZone) { in hasSameRules() argument 419 if (timeZone == null) { in hasSameRules() 422 return getRawOffset() == timeZone.getRawOffset(); in hasSameRules() 442 public static synchronized void setDefault(TimeZone timeZone) { in setDefault() argument 443 defaultTimeZone = timeZone != null ? (TimeZone) timeZone.clone() : null; in setDefault()
|
D | GregorianCalendar.java | 577 TimeZone timeZone = getTimeZone(); in computeFields() local 578 int dstOffset = timeZone.inDaylightTime(new Date(time)) ? timeZone.getDSTSavings() : 0; in computeFields() 579 int zoneOffset = timeZone.getRawOffset(); in computeFields() 1050 TimeZone timeZone = getTimeZone(); in getOffset() local 1078 return timeZone.getRawOffset(); in getOffset() 1090 return timeZone.getOffset(AD, year, month, date, dayOfWeek, millis); in getOffset()
|
D | Formatter.java | 1904 TimeZone timeZone = calendar.getTimeZone(); in appendT() local 1905 result.append(timeZone.getDisplayName(timeZone.inDaylightTime(calendar.getTime()), in appendT()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 147 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { in testSetSelfConsistent() argument 150 Calendar calendar = new GregorianCalendar(timeZone); in testSetSelfConsistent()
|
D | TimeZoneTest.java | 120 TimeZone timeZone = TimeZone.getTimeZone("Europe/Helsinki"); in testHelsinkiOverflow() local 121 long offset = timeZone.getOffset(time); in testHelsinkiOverflow()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | R.java | 2392 public static final int timeZone = 0; field in R
|