Optional
amount: DurationInputArg1Optional
unit: DurationConstructorreverse syntax
Optional
time: MomentInputOptional
formats: CalendarSpecOptional
unitOfTime: DiffOptional
precise: booleanOptional
suffix: booleanOptional
other: MomentInputOptional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfOptional
granularity: StartOfOptional
inclusivity: "()" | "[)" | "(]" | "[]"Optional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfas of 2.8.0, use locale
as of 2.8.0, use locale
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanas of 2.7.0, use moment.min/max
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanas of 2.7.0, use moment.min/max
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanas of 2.7.0, use moment.min/max
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanas of 2.7.0, use moment.min/max
Optional
amount: DurationInputArg1Optional
unit: DurationConstructorreverse syntax
Optional
suffix: boolean
The initial value of Object.prototype.constructor is the standard built-in Object constructor.