TimeZoneOffset.withString constructor
- String offset
Creates a new time zone offset object from a string, [+/-]HH:MM.
Offsets must follow ISO 8601 format and be between -12:00 to +14:00 (inclusive).
Parameters:
offset
— The amount of time ahead or behind UTC.