When adding a folder to a ZipFile using ZipFile#addFolder(File, ZipParameters) with ZipParameters#lastModifiedFileTime configured to some value such as 1, this value is ignored.
I believe that the reason for this behavior can be found here, as the lastModifiedFileTime just gets set to epochToExtendedDosTime((fileToAdd.lastModified())).
When adding a folder to a ZipFile using
ZipFile#addFolder(File, ZipParameters)withZipParameters#lastModifiedFileTimeconfigured to some value such as1, this value is ignored.I believe that the reason for this behavior can be found here, as the
lastModifiedFileTimejust gets set toepochToExtendedDosTime((fileToAdd.lastModified())).