next abstract method

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

Returns the next instance of the given date considering this Every base process.

If the date is a DateTime that matches the Every pattern, a new DateTime will be generated.

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 next(DateTime date, {DateTime? limit});