[COMPRESS-612] Support atime/ctime and higher time precision for TAR (original) (raw)

This is a proposal for some code I have already worked on.

Context

I'm coding a tool that requires extracting/compressing files. I noticed the following shortcomings:

My proposal is as follows:

I already have some code for that in https://github.com/andrebrait/commons-compress/tree/COMPRESS-612

Since compatibility with Android now requires API level 26 and that includes FileTime, I think we can do that here as well.

This will bring tar in line with Zip in this regard.