Hi Torsten!
public static void main(String[] args) throws Exception {
File dir = new File("dir");
dir.mkdir();
long m = dir.lastModified();
File subdir = new File(dir, "subdir");
This might have to do something with the timestamp resolution of the
filesystem. Not every filesystem have a resolution of milliseconds but
some higher factor.
It gets ever worse e.g 10ms for FAT on create but 2sec for write
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/setting_and_getting_the_timestamp_of_a_file.asp)
To be cross platform dont expect more than 2sec.
Bad news, isnt it?
---
Mario
PS: After some googling I found it might be worth to collect those
precision and create a web page with them.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]