Method Of
Of(int)
Creates a Zone instance by using its offset from UTC
public static Zone Of(int offsetSeconds)
Parameters
offsetSecondsintThe offset (in seconds) from UTC.
Returns
- Zone
A ZoneOffset instance
Of(string)
Creates a Zone instance by using its time zone identifier.
public static Zone Of(string zoneId)
Parameters
zoneIdstringThe time zone identifier.