stub in date methods