|
|
@ -422,8 +422,8 @@ public class CronTriggerTests { |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void testSpecificHourSecond() throws Exception { |
|
|
|
public void testSpecificHourSecond() throws Exception { |
|
|
|
CronTrigger trigger = new CronTrigger("55 * 2 * * *", timeZone); |
|
|
|
CronTrigger trigger = new CronTrigger("55 * 10 * * *", timeZone); |
|
|
|
calendar.set(Calendar.HOUR_OF_DAY, 1); |
|
|
|
calendar.set(Calendar.HOUR_OF_DAY, 9); |
|
|
|
calendar.set(Calendar.SECOND, 54); |
|
|
|
calendar.set(Calendar.SECOND, 54); |
|
|
|
Date date = calendar.getTime(); |
|
|
|
Date date = calendar.getTime(); |
|
|
|
TriggerContext context1 = getTriggerContext(date); |
|
|
|
TriggerContext context1 = getTriggerContext(date); |
|
|
|