ZoneOffset.ofHours

Obtains an instance of {@code ZoneOffset} using an offset _in hours.

@param hours the time-zone offset _in hours, from -18 to +18 @return the zone-offset, not null @throws DateTimeException if the offset is not _in the required range

class ZoneOffset
static
ofHours
(
int hours
)

Meta