Class of date object and calendar class