startDate abstract method

  1. @override
DateTime startDate(
  1. DateTime date, {
  2. DateTime? limit,
})
override

Returns the next DateTime that matches the Every pattern.

If the date is a DateTime that matches the Every pattern, it will be returned.

If the date is not a DateTime that matches the Every pattern, next will be called to generate a new one.

If the generated DateTime is still not able to return the first call to this function it will be called recursively. If limit is not null and the generated DateTime is past limit, a DateTimeLimitReachedException will be thrown.

Implementation

@override
DateTime startDate(DateTime date, {DateTime? limit});