Add error checking on date format parsed from properties file