inTimeZone

Projects this instant into the given timeZone.

The returned moment has the same epoch but its component values reflect the target timezone. This is an infix function for readability:

val ny = moment inTimeZone VerdandiTimeZone.of("America/New_York")

Return

a new VerdandiMoment with the same instant in the given timezone.

Parameters

timeZone

the target VerdandiTimeZone.