previous<T extends Every> static method
Returns the previous date considering the given every
base process.
If every
is a LimitedEvery, the limit
will be passed on.
Implementation
static DateTime previous<T extends Every>(
T every,
DateTime date, {
required DateTime? limit,
}) {
if (every is! LimitedEvery) return every.previous(date);
return every.previous(date, limit: limit);
}