On MacOSX and FreeBSD, the date format of the 'ls -l' output can have reversed month-day order for most non-US locales ($LANG) [1,2]. Add two more SimpleDateFormats (for <= 6 months and > 6 months ls date formats) with order day-month.  http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/ls.1.html  http://www.freebsd.org/cgi/man.cgi?query=ls
…e parameter is null Patch and testcase bu Alex Koon, applied unmodified
Patch suggested by Michael Hinterseher
…ction Only consider the mode that has been set and ignore the other, to avoid treating -1 as 'all permissions'.
Awaiting jar file for testcase