toDosTime
Convert a Date object to a DOS date/time field.
Return
the date as a ZipLong
Parameters
time
the Date to convert
Convert a Date object to a DOS date/time field.
Stolen from InfoZip's fileio.c
Return
the date as a byte array
Parameters
t
number of milliseconds since the epoch
Convert a Date object to a DOS date/time field.
Stolen from InfoZip's fileio.c
Parameters
t
number of milliseconds since the epoch
buf
the output buffer
offset
The offset within the output buffer of the first byte to be written. must be non-negative and no larger than buf.length-4