sysWallOffsetMinutes property

double Function(int year, int month, int day, int hour, int minute) sysWallOffsetMinutes
getter/setter pair

System time-zone offset (minutes east of UTC) for a wall-clock date/time, via core DateTime (honours the TZ env, and forward-normalizes a non-existent spring-forward wall time). Overridable so tests can pin a zone hermetically.

Implementation

static double Function(int year, int month, int day, int hour, int minute)
    sysWallOffsetMinutes = (int y, int m, int d, int h, int mi) =>
        DateTime(y, m, d, h, mi).timeZoneOffset.inMinutes.toDouble();