public void set ( DateTimeFieldType type , int value ) { if ( type == null ) { throw new IllegalArgumentException ( "Field must not be null" ) ; } setMillis ( type . getField ( getChronology ( ) ) . set ( getMillis ( ) , value ) ) ; }
Sets the value of one of the fields of the instant such as hourOfDay .