hour = c.get(Calendar.HOUR);
hour = c.get(Calendar.HOUR_OF_DAY);
        datetime(java.sql.Timestamp value){            Calendar c = new GregorianCalendar();            c.setTime(value);            year = c.get(Calendar.YEAR);            month = c.get(Calendar.MONTH)+1;            day = c.get(Calendar.DAY_OF_MONTH);            hour = c.get(Calendar.HOUR);            minute = c.get(Calendar.MINUTE);            second = c.get(Calendar.SECOND);            millisecond = value.getNanos()/1000000;        }