getLocaleDateTimeFormat
Retrieves a localized date-time formatting string.
getLocaleDateTimeFormat(locale: string, width: FormatWidth): string
参数
locale | string | A locale code for the locale format rules to use. |
width | FormatWidth | The format type. |
返回值
string
: The localized formatting string.