Type aliases
CalendarKey
CalendarKey: "sameDay" | "nextDay" | "lastDay" | "nextWeek" | "lastWeek" | "sameElse" | string
CalendarSpecVal
CalendarSpecVal: string | function
DurationInputArg1
DurationInputArg2
LocaleSpecifier
LongDateFormatKey
LongDateFormatKey: "LTS" | "LT" | "L" | "LL" | "LLL" | "LLLL" | "lts" | "lt" | "l" | "ll" | "lll" | "llll"
MomentFormatSpecification
MomentInput
MonthWeekdayFn
MonthWeekdayFn: function
Type declaration
-
- (momentToFormat: Moment, format?: undefined | string): string
-
Parameters
-
momentToFormat: Moment
-
Optional format: undefined | string
Returns string
RelativeTimeFuturePastVal
RelativeTimeFuturePastVal: string | function
RelativeTimeKey
RelativeTimeKey: "s" | "ss" | "m" | "mm" | "h" | "hh" | "d" | "dd" | "M" | "MM" | "y" | "yy"
RelativeTimeSpecVal
RelativeTimeSpecVal: string | function
WeekdaySimpleFn
WeekdaySimpleFn: function
Type declaration
-
- (momentToFormat: Moment): string
-
Parameters
Returns string
Constant used to enable explicit ISO_8601 format parsing.