Calendar calendar = Calendar.getInstance();  calendar.setTime(date);   setDateLocal ( calendar.get(Calendar.YEAR),   calendar.get(Calendar.MONTH) + 1, calendar.get(Calendar.DAY_OF_MONTH), calendar.get(Calendar.HOUR_OF_DAY), calendar.get(Calendar.MINUTE), calendar.get(Calendar.SECOND) );
year = month = day = hours = minutes = seconds = -1; localGC = null;
    public DCDate(Date date)    {        Calendar calendar = Calendar.getInstance();        calendar.setTime(date);        // Set all fields        setDateLocal        (            calendar.get(Calendar.YEAR),            // Uses 1 to 12 implementation below instead of Java's            // 0 to 11 convention            calendar.get(Calendar.MONTH) + 1,            calendar.get(Calendar.DAY_OF_MONTH),            calendar.get(Calendar.HOUR_OF_DAY),            calendar.get(Calendar.MINUTE),            calendar.get(Calendar.SECOND)        );    }