c.set(Calendar.HOUR_OF_DAY,0); c.set(Calendar.MINUTE,0); c.set(Calendar.SECOND,0); c.set(Calendar.MILLISECOND,0);
        java.sql.Date toDate(){            Calendar c = new GregorianCalendar();            c.set(Calendar.YEAR,year);            c.set(Calendar.MONTH,month-1);            c.set(Calendar.DAY_OF_MONTH,day);            return new java.sql.Date(c.getTime().getTime());        }