Set options upon creation.
Note that the units for rules are converted to objects, so it is not recommended to set rules this way. They can be set in the options so that they can be imported.
moment().recur({ start: "01/01/2014", end: "12/31/2014", rules: [ { units: [2], measure: "days" } ], exceptions: ["01/05/2014"] });
Generated using TypeDoc
Set options upon creation.
moment().recur({ start: "01/01/2014", end: "12/31/2014", rules: [ { units: [2], measure: "days" } ], exceptions: ["01/05/2014"] });