public static ZoneOffset ofHoursMinutes (int hours, int minutes)

Obtains an instance of ZoneOffset using an offset in hours and minutes.

The sign of the hours and minutes components must match. Thus, if the hours is negative, the minutes must be negative or zero. If the hours is zero, the minutes may be positive, negative or zero.

Parameters:
hours    the time-zone offset in hours, from -18 to +18
minutes    the time-zone offset in minutes, from 0 to ±59, sign matches hours

Returns:  the zone-offset, not null

Exceptions:
DateTimeException    if the offset is not in the required range