Searched refs:tzData (Results 1 – 4 of 4) sorted by relevance
44 private final File tzData; field in ZoneSplitter47 private ZoneSplitter(String tzData, String outputDir) { in ZoneSplitter() argument48 this.tzData = new File(tzData); in ZoneSplitter()53 if (!(tzData.exists() && tzData.isFile() && tzData.canRead())) { in execute()54 throw new IOException(tzData + " not found or is not readable"); in execute()60 MappedByteBuffer mappedFile = createMappedByteBuffer(tzData); in execute()68 final int fileSize = (int) tzData.length(); in execute()95 static MappedByteBuffer createMappedByteBuffer(File tzData) throws IOException { in createMappedByteBuffer() argument97 RandomAccessFile file = new RandomAccessFile(tzData, "r"); in createMappedByteBuffer()
44 private byte[] tzData; field in TimeZoneDistroBuilder74 public TimeZoneDistroBuilder setTzDataFile(byte[] tzData) { in setTzDataFile() argument75 this.tzData = tzData; in setTzDataFile()81 this.tzData = null; in clearTzDataForTests()129 if (tzData != null) { in buildUnvalidatedBytes()130 addZipEntry(zos, TimeZoneDistro.TZDATA_FILE_NAME, tzData); in buildUnvalidatedBytes()159 if (tzData == null) { in buildBytes()
212 ZoneInfoDb tzData = ZoneInfoDb.loadTzData(zoneInfoFile.getPath()); in stageInstallWithErrorCode() local213 if (tzData == null) { in stageInstallWithErrorCode()218 tzData.validate(); in stageInstallWithErrorCode()223 tzData.close(); in stageInstallWithErrorCode()
631 byte[] tzData = createTzData(rulesVersion); in createValidTimeZoneDistroBuilder()655 .setTzDataFile(tzData) in createValidTimeZoneDistroBuilder()