Date1 class created