Added error log for NumberFormatException. Would like to avoid returning
exception for empty date string parsing exceptions.
Clean up code comments.