HomeSort by relevance Sort by last modified time
    Searched refs:TzData (Results 1 - 2 of 2) sorted by null

  /libcore/luni/src/test/java/libcore/util/
ZoneInfoDBTest.java 28 private static final String TZDATA_IN_DATA = System.getenv("ANDROID_DATA") + "/misc/zoneinfo/tzdata";
30 private static final String TZDATA_IN_ROOT = System.getenv("ANDROID_ROOT") + "/usr/share/zoneinfo/tzdata";
34 ZoneInfoDB.TzData data = new ZoneInfoDB.TzData(makeEmptyFile(), TZDATA_IN_DATA, TZDATA_IN_ROOT);
41 ZoneInfoDB.TzData data = new ZoneInfoDB.TzData(makeCorruptFile(), TZDATA_IN_DATA, TZDATA_IN_ROOT);
46 // Given no tzdata files we can use, we should fall back to built-in "GMT".
48 ZoneInfoDB.TzData data = new ZoneInfoDB.TzData(makeEmptyFile());
56 // We copy /system/usr/share/zoneinfo/tzdata because we know that always exists
    [all...]
  /libcore/luni/src/main/java/libcore/util/
ZoneInfoDB.java 36 * Olson tzdata as the source of time zone information. However, to conserve
43 private static final TzData DATA =
44 new TzData(System.getenv("ANDROID_DATA") + "/misc/zoneinfo/tzdata",
45 System.getenv("ANDROID_ROOT") + "/usr/share/zoneinfo/tzdata");
47 public static class TzData {
71 public TzData(String... paths) {
78 // We didn't find any usable tzdata on disk, so let's just hard-code knowledge of "GMT".
81 System.logE("Couldn't find any tzdata!");
100 System.logE("tzdata file \"" + path + "\" was present but invalid!", ex)
    [all...]

Completed in 241 milliseconds