TomlTimeZoneOffset.local constructor

TomlTimeZoneOffset.local()

Creates a time-zone offset for the local time-zone at the current instant.

When this constructor is invoked twice and there is a daylight-saving change between the two invocations, the returned time-zone offsets will be different.

Implementation

factory TomlTimeZoneOffset.local() =>
    TomlTimeZoneOffset.localAtInstant(DateTime.now());