@SuppressWarnings({"fallthrough"})
public static ZoneOffset of (String offsetId)

Obtains an instance of ZoneOffset using the ID.

This method parses the string ID of a ZoneOffset to return an instance. The parsing accepts all the formats generated by getId(), plus some additional formats:

Note that ± means either the plus or minus symbol.

The ID of the returned offset will be normalized to one of the formats described by getId().

The maximum supported range is from +18:00 to -18:00 inclusive.

Parameters:
offsetId    the offset ID, not null

Returns:  the zone-offset, not null

Exceptions:
DateTimeException    if the offset ID is invalid