This method is useful for finding the local time in another timezone. For example, if this instant holds 12:30 in Europe/London, the result from this method with Europe/Paris would be 13:30.
The returned object will be a new instance of the same implementation type. This method changes the time zone, and does not change the millisecond instant, with the effect that the field values usually change. The returned object will be either be a new instance or this
.
@param newZone the new time zone
@return a copy of this datetime with a different time zone
@see #withZoneRetainFields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|