equal
deleted
inserted
replaced
219 * |
219 * |
220 * @param <R> the type of the Temporal object |
220 * @param <R> the type of the Temporal object |
221 * @param temporal the temporal object to adjust, not null |
221 * @param temporal the temporal object to adjust, not null |
222 * @param amount the amount of this unit to add, positive or negative |
222 * @param amount the amount of this unit to add, positive or negative |
223 * @return the adjusted temporal object, not null |
223 * @return the adjusted temporal object, not null |
224 * @throws DateTimeException if the period cannot be added |
224 * @throws DateTimeException if the amount cannot be added |
225 * @throws UnsupportedTemporalTypeException if the unit is not supported by the temporal |
225 * @throws UnsupportedTemporalTypeException if the unit is not supported by the temporal |
226 */ |
226 */ |
227 <R extends Temporal> R addTo(R temporal, long amount); |
227 <R extends Temporal> R addTo(R temporal, long amount); |
228 |
228 |
229 //----------------------------------------------------------------------- |
229 //----------------------------------------------------------------------- |