TimeZone property

TimeZone? get TimeZone
Gets the time zone this service is scoped to.

Implementation

datetime.TimeZone? get TimeZone => _timeZone;
set TimeZone (TimeZone? value)
Sets the time zone this service is scoped to. In C# it is passed to the constructor; null (the default) means unscoped: dates read from the server are returned in UTC and plain local DateTimes are written as platform local times.

Implementation

set TimeZone(datetime.TimeZone? value) {
  _timeZone = value;
  _timeZoneDefinition = null;
}