Generalize method for any date