Changed getDate() to return a GregorianCalendar