public final void set ( int field , int value ) { if ( areFieldsVirtuallySet ) { computeFields ( ) ; } fields [ field ] = value ; /* Ensure that the fNextStamp value doesn't go pass max value for 32 bit integer */ if ( nextStamp == STAMP_MAX ) { recalculateStamp ( ) ; } stamp [ field ] = nextStamp ++ ; isTimeSet = areFieldsSet = areFieldsVirtuallySet = false ; }
Sets the time field with the given value .