Declare date formater as a private utility + clean-up dateformat parameter declaration