填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

getLocaleTimeFormat

检索本地化的时间值格式字符串。

Retrieves a localized time-value formatting string.

      
      getLocaleTimeFormat(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.

参见