andrebrait commented on code in PR #256:
URL: https://github.com/apache/commons-compress/pull/256#discussion_r845165457


##########
src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java:
##########
@@ -304,6 +337,27 @@ public void setCreateTime(final ZipEightByteInteger t) {
      */
     public void setCreateJavaTime(final Date d) { setCreateTime(dateToZip(d)); 
}
 
+    /**
+     * Sets the modify time.
+     *
+     * @param time modify time as a {@link FileTime}
+     */

Review Comment:
   Done



##########
src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java:
##########
@@ -244,6 +247,36 @@ public Date getCreateJavaTime() {
         return zipToDate(createTime);
     }
 
+    /**
+     * Gets the modify time as as a {@link FileTime}
+     * of this zip entry, or null if no such timestamp exists in the zip entry.
+     *
+     * @return modify time as a {@link FileTime} or null.
+     */
+    public FileTime getModifyFileTime() {
+        return zipToFileTime(modifyTime);
+    }
+
+    /**
+     * Gets the access time as a {@link FileTime}
+     * of this zip entry, or null if no such timestamp exists in the zip entry.
+     *
+     * @return access time as a {@link FileTime} or null.
+     */
+    public FileTime getAccessFileTime() {
+        return zipToFileTime(accessTime);
+    }
+
+    /**
+     * Gets the create time as a {@link FileTime}
+     * of this zip entry, or null if no such timestamp exists in the zip entry.
+     *
+     * @return create time as a {@link FileTime} or null.
+     */

Review Comment:
   Done



##########
src/main/java/org/apache/commons/compress/archivers/zip/X000A_NTFS.java:
##########
@@ -244,6 +247,36 @@ public Date getCreateJavaTime() {
         return zipToDate(createTime);
     }
 
+    /**
+     * Gets the modify time as as a {@link FileTime}
+     * of this zip entry, or null if no such timestamp exists in the zip entry.
+     *
+     * @return modify time as a {@link FileTime} or null.
+     */
+    public FileTime getModifyFileTime() {
+        return zipToFileTime(modifyTime);
+    }
+
+    /**
+     * Gets the access time as a {@link FileTime}
+     * of this zip entry, or null if no such timestamp exists in the zip entry.
+     *
+     * @return access time as a {@link FileTime} or null.
+     */
+    public FileTime getAccessFileTime() {

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to