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.

offsetId    the offset ID, not null

Returns:  the zone-offset, not null

DateTimeException    if the offset ID is invalid