This time instance is immutable and unaffected by this method call.
The following three lines are identical in effect:
TimeOfDay subtracted = dt.minusHours(6); TimeOfDay subtracted = dt.minus(Period.hours(6)); TimeOfDay subtracted = dt.withFieldAdded(DurationFieldType.hours(), -6);@param hours the amount of hours to subtract, may be negative @return the new time minus the increased hours @since 1.1
|
|
|
|
|
|
|
|