GetDaylightDelta method

TimeSpan GetDaylightDelta()
Gets the delta offset for the daylight.

Implementation

TimeSpan GetDaylightDelta() {
  if (SupportsDaylight) {
    // EWS returns a positive offset for time zones that are behind UTC, and
    // a negative one for time zones ahead of UTC. TimeZoneInfo does it the other
    // way around.
    throw NotImplementedException(
      "- this.TransitionToDaylight.TargetPeriod.Bias",
    );
    //                return this.TransitionToStandard.TargetPeriod.Bias - this.TransitionToDaylight.TargetPeriod.Bias;
  } else {
    return TimeSpan.ZERO;
  }
}