ofSeconds

public static ZoneOffset ofSeconds(int seconds)

Obtains the ZoneOffset for the passed number of seconds.

If zero is passed utc instance is returned.

Return

the instance for the passed offset

Parameters

seconds

a positive, zero