public static LocalDateTime ofEpochSecond (long epochSecond, int nanoOfSecond, ZoneOffset offset)

Obtains an instance of LocalDateTime using seconds from the epoch of 1970-01-01T00:00:00Z.

This allows the epoch-second field to be converted to a local date-time. This is primarily intended for low-level conversions rather than general application usage.

Parameters:
epochSecond    the number of seconds from the epoch of 1970-01-01T00:00:00Z
nanoOfSecond    the nanosecond within the second, from 0 to 999,999,999
offset    the zone offset, not null

Returns:  the local date-time, not null

Exceptions:
DateTimeException    if the result exceeds the supported range, or if the nano-of-second is invalid