Can we create a helper method like ```private InfileRow append(Date d, DateTimeFormatter dateTimeFormatter)``` which these cases call so it will handle the null and ```getTime```?