|
|
@@ -123,7 +123,7 @@ public class MatchTrigger extends IntervalTrigger {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Gets the first trigger date.
|
|
|
+ * Gets the date when to trigger the notification.
|
|
|
*
|
|
|
* @param base The date from where to calculate the trigger date.
|
|
|
*
|
|
|
@@ -194,6 +194,7 @@ public class MatchTrigger extends IntervalTrigger {
|
|
|
addToDate(cal, now, Calendar.HOUR_OF_DAY, 0);
|
|
|
break;
|
|
|
case DAY:
|
|
|
+ case WEEK:
|
|
|
addToDate(cal, now, Calendar.DAY_OF_YEAR, 1);
|
|
|
break;
|
|
|
case MONTH:
|
|
|
@@ -213,6 +214,7 @@ public class MatchTrigger extends IntervalTrigger {
|
|
|
addToDate(cal, now, Calendar.HOUR_OF_DAY, 1);
|
|
|
break;
|
|
|
case DAY:
|
|
|
+ case WEEK:
|
|
|
addToDate(cal, now, Calendar.DAY_OF_YEAR, 1);
|
|
|
break;
|
|
|
case MONTH:
|