Interface DateTimeFormatConstructor
interface DateTimeFormatConstructor {
new DateTimeFormatConstructor(
locales?: string | string[],
options?: DateTimeFormatOptions,
): Intl.DateTimeFormat;
new DateTimeFormatConstructor(
locales?: LocalesArgument,
options?: DateTimeFormatOptions,
): Intl.DateTimeFormat;
prototype: Intl.DateTimeFormat;
supportedLocalesOf(
locales: LocalesArgument,
options?: DateTimeFormatOptions,
): string[];
(
locales?: LocalesArgument,
options?: DateTimeFormatOptions,
): Intl.DateTimeFormat;
}
new DateTimeFormatConstructor(
locales?: string | string[],
options?: DateTimeFormatOptions,
): Intl.DateTimeFormat;
new DateTimeFormatConstructor(
locales?: LocalesArgument,
options?: DateTimeFormatOptions,
): Intl.DateTimeFormat;
prototype: Intl.DateTimeFormat;
supportedLocalesOf(
locales: LocalesArgument,
options?: DateTimeFormatOptions,
): string[];
(
locales?: LocalesArgument,
options?: DateTimeFormatOptions,
): Intl.DateTimeFormat;
}
- DateTimeFormatConstructor(
locales?: LocalesArgument,
options?: DateTimeFormatOptions,
): Intl.DateTimeFormat Parameters
Optional
locales: LocalesArgumentOptional
options: DateTimeFormatOptions
Returns Intl.DateTimeFormat
Index
Constructors
constructor
- new DateTimeFormatConstructor(
locales?: string | string[],
options?: DateTimeFormatOptions,
): Intl.DateTimeFormat Parameters
Optional
locales: string | string[]Optional
options: DateTimeFormatOptions
Returns Intl.DateTimeFormat
- new DateTimeFormatConstructor(
locales?: LocalesArgument,
options?: DateTimeFormatOptions,
): Intl.DateTimeFormat Parameters
Optional
locales: LocalesArgumentOptional
options: DateTimeFormatOptions
Returns Intl.DateTimeFormat
Methods
supportedLocalesOf
- supportedLocalesOf(
locales: LocalesArgument,
options?: DateTimeFormatOptions,
): string[] Parameters
- locales: LocalesArgument
Optional
options: DateTimeFormatOptions
Returns string[]