Returns a timestamp relative to this one by the given number of minutes. This method always returns a Timestamp with at least MINUTE precision. For example, adding one minute to 2011T results in 2011-01-01T00:01-00:00. To receive a Timestamp that always maintains the same precisi
(int amount)
| 2518 | * @param amount a number of minutes. |
| 2519 | */ |
| 2520 | public final Timestamp addMinute(int amount) |
| 2521 | { |
| 2522 | long delta = (long) amount * 60 * 1000; |
| 2523 | return addMillisForPrecision(delta, Precision.MINUTE, false); |
| 2524 | } |
| 2525 | |
| 2526 | /** |
| 2527 | * Returns a timestamp relative to this one by the given number of hours. |