Home
last modified time | relevance | path

Searched refs:ZoneInfo (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/util/
DZoneInfoTest.java31 import libcore.util.ZoneInfo;
59 ZoneInfo zoneInfo = createZoneInfo(transitions, types); in testMakeTimeZone_OneType_NoTransitions()
87 ZoneInfo zoneInfo = createZoneInfo(transitions, types); in testReadTimeZone_OneNonDstTransition()
133 ZoneInfo zoneInfo = createZoneInfo(transitions, types); in testReadTimeZone_NegativeTransition()
170 ZoneInfo zoneInfo = createZoneInfo(transitions, types); in testReadTimeZone_PositiveTransition()
213 ZoneInfo zoneInfo = createZoneInfo(transitions, types, timeFromSeconds(-700)); in testReadTimeZone_HasFutureDST_NoPastDST_NegativeTransitions()
246 ZoneInfo zoneInfo = createZoneInfo(transitions, types, timeFromSeconds(4500) /* currentTime */); in testReadTimeZone_HasFutureDST_NoPastDST_PositiveTransitions()
275 ZoneInfo zoneInfo = createZoneInfo(transitions, types, timeFromSeconds(-1) /* currentTime */); in testReadTimeZone_HasPastDST_NoFutureDST_NegativeTransitions()
304 ZoneInfo zoneInfo = createZoneInfo(transitions, types, timeFromSeconds(4700)); in testReadTimeZone_HasPastDST_NoFutureDST_PositiveTransitions()
367 ZoneInfo oldZoneInfo = createZoneInfo(transitions, types, currentTime); in testReadTimeZone_Bug118835133_extraFirstTransition()
[all …]
/libcore/luni/src/main/java/libcore/timezone/
DZoneInfoDB.java32 import libcore.util.ZoneInfo;
100 private final BasicLruCache<String, ZoneInfo> cache =
101 new BasicLruCache<String, ZoneInfo>(CACHE_SIZE) {
103 protected ZoneInfo create(String id) {
304 ZoneInfo zoneInfo = makeTimeZoneUncached(id); in validate()
311 ZoneInfo makeTimeZoneUncached(String id) throws IOException { in makeTimeZoneUncached()
317 return ZoneInfo.readTimeZone(id, it, System.currentTimeMillis()); in makeTimeZoneUncached()
365 public ZoneInfo makeTimeZone(String id) throws IOException { in makeTimeZone()
367 ZoneInfo zoneInfo = cache.get(id); in makeTimeZone()
369 return zoneInfo == null ? null : (ZoneInfo) zoneInfo.clone(); in makeTimeZone()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java72 public final class ZoneInfo extends TimeZone { class
198 public static ZoneInfo readTimeZone(String id, BufferIterator it, long currentTimeMillis) in readTimeZone()
281 return new ZoneInfo(id, transitions64, type, gmtOffsets, isDsts, currentTimeMillis); in readTimeZone()
284 private ZoneInfo(String name, long[] transitions, byte[] types, int[] gmtOffsets, byte[] isDsts, in ZoneInfo() method in ZoneInfo
647 if (!(timeZone instanceof ZoneInfo)) { in hasSameRules()
650 ZoneInfo other = (ZoneInfo) timeZone; in hasSameRules()
666 if (!(obj instanceof ZoneInfo)) { in equals()
669 ZoneInfo other = (ZoneInfo) obj; in equals()
765 public void localtime(int timeSeconds, ZoneInfo zoneInfo) { in localtime()
826 public int mktime(ZoneInfo zoneInfo) { in mktime()
[all …]
/libcore/luni/src/test/java/libcore/libcore/timezone/
DZoneInfoDBTest.java26 import libcore.util.ZoneInfo;
221 ZoneInfo first = data.makeTimeZone(tzId); in testMakeTimeZone_timeZoneMutability()
222 ZoneInfo second = data.makeTimeZone(tzId); in testMakeTimeZone_timeZoneMutability()
/libcore/ojluni/src/main/java/sun/util/calendar/
DAbstractCalendar.java129 if (zi instanceof libcore.util.ZoneInfo) { in getCalendarDate()
130 zoneOffset = ((libcore.util.ZoneInfo) zi).getOffsetsByUtcTime(millis, offsets); in getCalendarDate()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java47 import libcore.util.ZoneInfo;
2348 if (tz instanceof ZoneInfo) { in computeFields()
2352 ZoneInfo zoneInfo = (ZoneInfo) tz; in computeFields()
2911 if (zone instanceof ZoneInfo) { in adjustForZoneAndDaylightSavingsTime()
2913 ZoneInfo zoneInfo = (ZoneInfo) zone; in adjustForZoneAndDaylightSavingsTime()
DJapaneseImperialCalendar.java1601 if (tz instanceof libcore.util.ZoneInfo) { in computeFields()
1602 zoneOffset = ((libcore.util.ZoneInfo)tz).getOffsetsByUtcTime(time, zoneOffsets); in computeFields()
/libcore/mmodules/core_platform_api/api/platform/
Dcurrent-api.txt1266 method public libcore.util.ZoneInfo makeTimeZone(String) throws java.io.IOException;
1333 public final class ZoneInfo extends java.util.TimeZone {
1336 public static class ZoneInfo.WallTime {
1337 ctor public ZoneInfo.WallTime();
1348 method public void localtime(int, libcore.util.ZoneInfo);
1349 method public int mktime(libcore.util.ZoneInfo);
/libcore/
Dnon_openjdk_java_files.bp199 "luni/src/main/java/libcore/util/ZoneInfo.java",