File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,16 +72,16 @@ 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
+ * @param removeScheduledDate - Optional boolean to remove the scheduled date from the next occurrence so long as a start or due date exists.
76
76
*/
77
- public next ( today = window . moment ( ) , dropScheduledDate : boolean = false ) : Occurrence | null {
77
+ public next ( today = window . moment ( ) , removeScheduledDate : boolean = false ) : Occurrence | null {
78
78
const nextReferenceDate = this . nextReferenceDate ( today ) ;
79
79
80
80
if ( nextReferenceDate === null ) {
81
81
return null ;
82
82
}
83
83
84
- return this . occurrence . next ( nextReferenceDate , dropScheduledDate ) ;
84
+ return this . occurrence . next ( nextReferenceDate , removeScheduledDate ) ;
85
85
}
86
86
87
87
public identicalTo ( other : Recurrence ) {
You can’t perform that action at this time.
0 commit comments