default
f
createDateFactory(customDayjs?: DateFactoryDayjs): CreateDateFactoryReturn
Creates a date factory bound to a specific Dayjs instance.
f
timeout<T = void>(): Promise<T>
milliseconds: number,
value?: T
Creates a promise that resolves after a specified delay.
T
CreateDateFactoryReturn = { createDate: { (): ReturnType<DateFactoryDayjs>; (): ReturnType<DateFactoryDayjs>; }; dayjs: DateFactoryDayjs; }
date: CreateDateInput,
format?: CreateDateFormat,
options?: CreateDateOptions
Return type of createDateFactory.
-
createDate: { (): ReturnType<DateFactoryDayjs>; (): ReturnType<DateFactoryDayjs>; }date: CreateDateInput,format?: CreateDateFormat,options?: CreateDateOptions
Unified date creation function.
-
dayjs: DateFactoryDayjs
Underlying Dayjs instance used by this factory.
v
createDate
Default preconfigured createDate function.