Searched refs:TzData (Results 1 – 4 of 4) sorted by relevance
29 import static libcore.timezone.ZoneInfoDB.TzData.SIZEOF_INDEX_ENTRY;40 try (ZoneInfoDB.TzData data = ZoneInfoDB.TzData.loadTzData(SYSTEM_TZDATA_FILE); in testLoadTzDataWithFallback_emptyOverrideFile()41 ZoneInfoDB.TzData dataWithEmptyOverride = in testLoadTzDataWithFallback_emptyOverrideFile()42 ZoneInfoDB.TzData.loadTzDataWithFallback(emptyFilePath, SYSTEM_TZDATA_FILE)) { in testLoadTzDataWithFallback_emptyOverrideFile()51 try (ZoneInfoDB.TzData data = ZoneInfoDB.TzData.loadTzData(SYSTEM_TZDATA_FILE); in testLoadTzDataWithFallback_corruptOverrideFile()52 ZoneInfoDB.TzData dataWithCorruptOverride = in testLoadTzDataWithFallback_corruptOverrideFile()53 ZoneInfoDB.TzData.loadTzDataWithFallback(corruptFilePath, SYSTEM_TZDATA_FILE)) { in testLoadTzDataWithFallback_corruptOverrideFile()62 try (ZoneInfoDB.TzData data = ZoneInfoDB.TzData.loadTzDataWithFallback(emptyFilePath)) { in testLoadTzDataWithFallback_noGoodFile()84 try (ZoneInfoDB.TzData dataWithOverride = in testLoadTzDataWithFallback_goodOverrideFile()85 ZoneInfoDB.TzData.loadTzDataWithFallback(goodFile.getPath(), SYSTEM_TZDATA_FILE); in testLoadTzDataWithFallback_goodOverrideFile()[all …]
48 private static final TzData DATA =49 TzData.loadTzDataWithFallback(TimeZoneDataFiles.getTimeZoneFilePaths(TZDATA_FILE));53 public static class TzData implements AutoCloseable { class in ZoneInfoDB117 public static TzData loadTzDataWithFallback(String... paths) { in loadTzDataWithFallback()119 TzData tzData = new TzData(); in loadTzDataWithFallback()129 return TzData.createFallback(); in loadTzDataWithFallback()137 public static TzData loadTzData(String path) { in loadTzData()138 TzData tzData = new TzData(); in loadTzData()145 private static TzData createFallback() { in createFallback()146 TzData tzData = new TzData(); in createFallback()[all …]
479 ZoneInfoDB.TzData instance = ZoneInfoDB.getInstance(); in testReadTimeZone_All()
1259 method public static libcore.timezone.ZoneInfoDB.TzData getInstance();1262 public static class ZoneInfoDB.TzData implements java.lang.AutoCloseable {1265 method public static libcore.timezone.ZoneInfoDB.TzData loadTzData(String);