public long add ( long instant , long duration , int scalar ) { if ( duration == 0 || scalar == 0 ) { return instant ; } long add = FieldUtils . safeMultiply ( duration , scalar ) ; return FieldUtils . safeAdd ( instant , add ) ; }
Adds the duration to the instant specifying the number of times to add .