isDaylightSavingTime method

bool isDaylightSavingTime()

Indicates whether or not this ZonedDateTime is in daylight saving time for its time zone. This is determined by checking the ZoneInterval.savings property of the zone interval containing this value.

see: getZoneInterval

true if the zone interval containing this value has a non-zero savings component; false otherwise.

Implementation

bool isDaylightSavingTime() => getZoneInterval().savings != Offset.zero;