Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/zip/
DTestExtraTime.java103 static void test(FileTime mtime, FileTime atime, FileTime ctime, in test() argument
105 test0(mtime, null, null, null, extra); in test()
106 test0(mtime, null, null, tz, extra); // non-default tz in test()
107 test0(mtime, atime, null, null, extra); in test()
108 test0(mtime, null, ctime, null, extra); in test()
109 test0(mtime, atime, ctime, null, extra); in test()
110 test0(mtime, atime, null, tz, extra); in test()
111 test0(mtime, null, ctime, tz, extra); in test()
112 test0(mtime, atime, ctime, tz, extra); in test()
115 static void test0(FileTime mtime, FileTime atime, FileTime ctime, in test0() argument
[all …]
DTestLocalTime.java77 static byte[] getBytes(LocalDateTime mtime) throws Throwable { in getBytes() argument
81 ze.setTimeLocal(mtime); in getBytes()
82 check(ze, mtime); in getBytes()
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java52 FileTime mtime; // last modification time, from extra field data field in ZipEntry
155 mtime = e.mtime; in ZipEntry()
213 this.mtime = null; in setTime()
217 this.mtime = null; in setTime()
219 this.mtime = FileTime.from(time, TimeUnit.MILLISECONDS); in setTime()
241 if (mtime != null) { in getTime()
242 return mtime.toMillis(); in getTime()
287 this.mtime = null; in setTimeLocal()
289 this.mtime = FileTime.from( in setTimeLocal()
312 if (mtime != null) { in getTimeLocal()
[all …]
DZipOutputStream.java446 if (e.mtime != null) { in writeLOC()
449 umtime = fileTimeToUnixTime(e.mtime); in writeLOC()
488 writeLong(e.mtime == null ? WINDOWS_TIME_NOT_AVAILABLE in writeLOC()
489 : fileTimeToWinTime(e.mtime)); in writeLOC()
498 if (e.mtime != null) in writeLOC()
590 if (e.mtime != null) { in writeCEN()
592 umtime = fileTimeToUnixTime(e.mtime); in writeCEN()
610 if (e.mtime != null) in writeCEN()
650 writeLong(e.mtime == null ? WINDOWS_TIME_NOT_AVAILABLE in writeCEN()
651 : fileTimeToWinTime(e.mtime)); in writeCEN()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipEntry.java195 java.nio.file.attribute.FileTime mtime; field in ZipEntry