public void setDate ( final int year , final int monthOfYear , final int dayOfMonth ) { Chronology c = getChronology ( ) ; long instantMidnight = c . getDateTimeMillis ( year , monthOfYear , dayOfMonth , 0 ) ; setDate ( instantMidnight ) ; }
Set the date from fields . The time part of this object will be unaffected .