I use the Quartz framework, a little confused with the creation of time. This is a simple code that generates a daily trigger @ 11:30 in the morning. To test this, I generated the next 100 consecutive pulses using the ComputeFireTimes request, but the time I get is weirder. Maybe I missed something here.
Trigger trig = TriggerUtils.MakeDailyTrigger(11, 30);
var triggerList = TriggerUtils.ComputeFireTimes(trig, null, 100);
foreach (DateTime trigger in triggerList)
{
Console.WriteLine(trigger.ToString());
}
Output i get
8/12/2011 3:30:00 PM 08/13/2011 15:30:00 08/14/2011 15:30:00 08/15/2011 15:30:00 08/16/2011 15:30:00 08/17/2011 15:30: 00 08/18/2011 15:30:00 PM 8/19/2011 3:30:00 PM
The time should have been 11:30, but it is shown at 15:30.
source
share