Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Options

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"]
});

Hierarchy

  • Options

Index

Properties

Properties

Optional end

end: MomentInput

Optional exceptions

exceptions: MomentInput[]

Optional rules

rules: object[]

Optional start

start: MomentInput

Generated using TypeDoc