epochSecondsToZonedDateTime

epochSecondsToZonedDateTime converts an offset from the Epoch to a ZonedDateTime.

Syntax

Parameters

ParameterTypeDescription
secondslong

The seconds from the Epoch.

timeZoneZoneId

The time zone.

Returns

A ZonedDateTime.

Examples