epochNanosToZonedDateTime

epochNanosToZonedDateTime converts an offset from the Epoch to a ZonedDateTime.

Syntax

Parameters

ParameterTypeDescription
nanoslong

The nanoseconds from the Epoch.

timeZoneZoneId

The time zone.

Returns

A ZonedDateTime.

Examples