Home
last modified time | relevance | path

Searched refs:rawOffset (Results 1 – 5 of 5) sorted by relevance

/libcore/support/src/test/java/tests/support/
DSupport_TimeZone.java31 int rawOffset; field in Support_TimeZone
35 public Support_TimeZone(int rawOffset, boolean useDaylightTime) { in Support_TimeZone() argument
36 this.rawOffset = rawOffset; in Support_TimeZone()
42 return rawOffset; in getRawOffset()
80 rawOffset = p1; in setRawOffset()
/libcore/ojluni/src/main/java/java/util/
DSimpleTimeZone.java158 public SimpleTimeZone(int rawOffset, String ID) in SimpleTimeZone() argument
160 this.rawOffset = rawOffset; in SimpleTimeZone()
214 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() argument
218 this(rawOffset, ID, in SimpleTimeZone()
272 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() argument
277 this(rawOffset, ID, in SimpleTimeZone()
328 public SimpleTimeZone(int rawOffset, String ID, in SimpleTimeZone() argument
336 this.rawOffset = rawOffset; in SimpleTimeZone()
546 int offset = rawOffset; in getOffsets()
562 cal.getCalendarDate(date + rawOffset, cdate); in getOffsets()
[all …]
DTimeZone.java668 public static synchronized String[] getAvailableIDs(int rawOffset) { in getAvailableIDs() argument
669 return ZoneInfoDB.getInstance().getAvailableIDs(rawOffset); in getAvailableIDs()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java561 int rawOffset; in getOffsetsByUtcTime() local
566 rawOffset = mEarliestRawOffset; in getOffsetsByUtcTime()
568 totalOffset = rawOffset; in getOffsetsByUtcTime()
576 rawOffset = totalOffset; in getOffsetsByUtcTime()
581 rawOffset = -1; in getOffsetsByUtcTime()
585 rawOffset = mRawOffset + mOffsets[type] * 1000; in getOffsetsByUtcTime()
590 if (rawOffset == -1) { in getOffsetsByUtcTime()
591 rawOffset = mEarliestRawOffset; in getOffsetsByUtcTime()
595 dstOffset = totalOffset - rawOffset; in getOffsetsByUtcTime()
599 offsets[0] = rawOffset; in getOffsetsByUtcTime()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimeZoneTest.java225 int rawOffset = tz.getRawOffset(); in test_getAvailableIDs_I_16947622() local
226 assertEquals(-8 * 60 * 60 * 1000, rawOffset); in test_getAvailableIDs_I_16947622()
227 List<String> ids = Arrays.asList(TimeZone.getAvailableIDs(rawOffset)); in test_getAvailableIDs_I_16947622()