src/TimeZoneOffset.php
public static function ofTotalSeconds(int $totalSeconds) : TimeZoneOffset
    {
        Field\TimeZoneOffsetTotalSeconds::check($totalSeconds);

        return new TimeZoneOffset($totalSeconds);
    }
public static function ofTotalSeconds(int $totalSeconds) : TimeZoneOffset
    {
        Field\TimeZoneOffsetTotalSeconds::check($totalSeconds);

        return new TimeZoneOffset($totalSeconds);
    }
public static function ofTotalSeconds ( int $ totalSeconds ) : TimeZoneOffset { Field \ TimeZoneOffsetTotalSeconds :: check ( $ totalSeconds ) ; return new TimeZoneOffset ( $ totalSeconds ) ; }
Obtains an instance of `TimeZoneOffset` specifying the total offset in seconds.

The offset must be in the range `-18:00` to `+18:00`, which corresponds to -64800 to +64800.

@param int $totalSeconds The total offset in seconds.

@return TimeZoneOffset

@throws DateTimeException
Obtains an instance of TimeZoneOffset specifying the total offset in seconds .