Quartz.Net - how to return a list of next fire times in 2.0
quartz.net, quartz.net-2.0
Solution
Use GetNextFireTimeUtc and GetFireTimeAfter ,
eg
var dt = trigger.GetNextFireTimeUtc();
for (int i = 0; i < 10; i++)
{
if (dt == null)
break;
Console.WriteLine(dt.Value.ToLocalTime());
dt = trigger.GetFireTimeAfter(dt);
}
Problem
In version 1 we have computeFireTimes which will returns a list of Dates that are the next fire times of a Trigger Is there a way to do the same thing in version 2