local property

DateTimeZone local

Gets the local DateTimeZone of the local machine if the DateTimeZoneProviders.defaultProvider is defined, or utc.

Implementation

static DateTimeZone get local => DateTimeZoneProviders.defaultProvider?.getCachedSystemDefault() ?? utc;