Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Rule

Index

Type aliases

MeasureInput

MeasureInput: MeasureSingle | MeasurePlural | undefined | null

MeasurePlural

MeasurePlural: "days" | "weeks" | "months" | "years" | "daysOfWeek" | "daysOfMonth" | "weeksOfMonth" | "weeksOfMonthByDay" | "weeksOfYear" | "monthsOfYear"

MeasureSingle

MeasureSingle: "day" | "week" | "month" | "year" | "dayOfWeek" | "dayOfMonth" | "weekOfMonth" | "weekOfMonthByDay" | "weekOfYear" | "monthOfYear"

UnitsInput

UnitsInput: string | number | (string | number)[] | UnitsObject | undefined | null

Properties

measure

measure: MeasurePlural

units

units: number[]

Methods

next

  • next(current: Moment, limit?: moment.Moment): Moment
  • Parameters

    • current: Moment
    • Optional limit: moment.Moment

    Returns Moment

previous

  • previous(current: Moment, limit?: moment.Moment): Moment
  • Parameters

    • current: Moment
    • Optional limit: moment.Moment

    Returns Moment

Generated using TypeDoc