TimeRule constructor

TimeRule(
  1. String timeRule,
  2. int timeZoneOffsetSeconds,
  3. String dstSpec
)

Creates a new instance of this class.

  • timeRule The time rule as a string in ISO 14825 format.

  • timeZoneOffsetSeconds The time zone offset in seconds for the location where the time rule applies.

  • dstSpec Day saving time specification, as a string in ISO 14825 format, for the location where the time rule applies.

Implementation

factory TimeRule(String timeRule, int timeZoneOffsetSeconds, String dstSpec) => $prototype.make(timeRule, timeZoneOffsetSeconds, dstSpec);