[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Deal DST with DailyTimeIntervalScheduleBuilder  XML
Forum Index -> Quartz
Author Message
kraiss

journeyman

Joined: 09/17/2013 06:32:19
Messages: 14
Offline

Hi,

I use a Java Quartz and DailyTimeIntervalScheduleBuilder as following

Code:
 DailyTimeIntervalScheduleBuilder dti = dailyTimeIntervalSchedule()
         .startingDailyAt(new TimeOfDay(0, 30))
         .endingDailyAt(new TimeOfDay(7, 0))
         .onEveryDay()
         .withIntervalInHours(2)
         .withMisfireHandlingInstructionFireAndProceed();
 

As you can see, i want the trigger to fire every day between 00:30 and 07:00 every two hours.

On 'normal' days, the trigger fires like this :
Code:
 Sat Mar 01 00:30:00 CET 2014
 Sat Mar 01 02:30:00 CET 2014
 Sat Mar 01 04:30:00 CET 2014
 

But with DST :
Code:
 Sun Mar 30 00:30:00 CEST 2014
 Sun Mar 30 03:30:00 CEST 2014
 Sun Mar 30 05:30:00 CEST 2014
 

I understand why the timestamp calculates for the first firing happens at 03:30 and not at 02:30 but why the trigger don't 're-adjust' the next firing at 04:30 ?

Is it a bug or did i miss something ?
How can i deal to force the trigger to 're-adjust' ?
[WWW]
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team