File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ export class Occurrence {
87
87
* If the occurrence has no reference date, an empty {@link Occurrence} will be returned.
88
88
*
89
89
* @param nextReferenceDate
90
+ * @param dropScheduledDate - Optional boolean to drop the scheduled date from the next occurrence so long as a start or due date exists.
90
91
*/
91
92
public next ( nextReferenceDate : Date , dropScheduledDate : boolean = false ) : Occurrence {
92
93
// Only if a reference date is given. A reference date will exist if at
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ export class Recurrence {
72
72
* Returns the dates of the next occurrence or null if there is no next occurrence.
73
73
*
74
74
* @param today - Optional date representing the completion date. Defaults to today.
75
+ * @param dropScheduledDate - Optional boolean to drop the scheduled date from the next occurrence so long as a start or due date exists.
75
76
*/
76
77
public next ( today = window . moment ( ) , dropScheduledDate : boolean = false ) : Occurrence | null {
77
78
const nextReferenceDate = this . nextReferenceDate ( today ) ;
You can’t perform that action at this time.
0 commit comments