Commits

Anonymous committed e832602

And rolling the 3->TriggerUtils.TUESDAY changes out (*sigh*). It's not as simple as I thought. QUAR
TZ-549

git-svn-id: http://svn.opensymphony.com/svn/quartz/branches/quartz_1-6@73169f7d36a-ea1c-0410-88ea-9fd03e4c9665

Comments (0)

Files changed (1)

src/test/java/org/quartz/NthIncludedDayTriggerTest.java

         NthIncludedDayTrigger weeklyTrigger = new NthIncludedDayTrigger();
         weeklyTrigger.setIntervalType(NthIncludedDayTrigger.INTERVAL_TYPE_WEEKLY);
         weeklyTrigger.setStartTime(startCalendar.getTime());
-        weeklyTrigger.setN(TriggerUtils.TUESDAY);
+        weeklyTrigger.setN(3);
         weeklyTrigger.setFireAtTime("14:35:15");
 
         targetCalendar.set(2005, Calendar.JUNE, 7, 14, 35, 15);
         {
             NthIncludedDayTrigger t = new NthIncludedDayTrigger("name", "group");
             t.setIntervalType(NthIncludedDayTrigger.INTERVAL_TYPE_WEEKLY);
-            t.setN(TriggerUtils.TUESDAY);
+            t.setN(3);
             t.setStartTime(startTime.getTime());
             t.setFireAtTime("8:00");
             t.setTimeZone(EST);
         {
             NthIncludedDayTrigger t = new NthIncludedDayTrigger("name", "group");
             t.setIntervalType(NthIncludedDayTrigger.INTERVAL_TYPE_WEEKLY);
-            t.setN(TriggerUtils.TUESDAY);
+            t.setN(3);
             t.setStartTime(startTime.getTime());
             t.setFireAtTime("8:00");
             t.setTimeZone(GMT);