Modified DateUtils to remove synchronized blocks