/dst

Flutter Daylight Saving Time Plugin

Primary LanguageDartBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

dst

Daylight saving time plugin

What it does

Access iOS and Android native TimeZone and Calendar utilities to get the next daylight saving transition DateTime. The developer can specify the start check date and the TimeZone name for the specific DST.

Usage

final plugin = Dst();
final nextTransitionDate = await plugin.nextDaylightSavingTransitionAfterDate(DateTime.now(), "Europe/Rome");