locale
|
string
|
是
|
否
|
区域参数
|
dateStyle
|
string
|
是
|
是
|
日期显示格式,取值范围:"long", "short", "medium", "full"
|
timeStyle
|
string
|
是
|
是
|
时间显示格式,取值范围:"long", "short", "medium", "full"
|
hourCycle
|
string
|
是
|
是
|
时制格式,取值范围:"h11", "h12", "h23", "h24".
|
timeZone
|
string
|
是
|
是
|
使用的时区(合法的IANA时区ID)
|
numberingSystem
|
string
|
是
|
是
|
数字系统
|
hour12
|
boolean
|
是
|
是
|
是否使用12小时制
|
weekday
|
string
|
是
|
是
|
工作日的显示格式,取值范围:"long", "short", "narrow"
|
era
|
string
|
是
|
是
|
时代的显示格式,取值范围:"long", "short", "narrow"
|
year
|
string
|
是
|
是
|
年份的显示格式,取值范围:"numeric", "2-digit"
|
month
|
string
|
是
|
是
|
月份的显示格式,取值范围:"numeric", "2-digit", "long", "short", "narrow"
|
day
|
string
|
是
|
是
|
日期的显示格式,取值范围:"numeric", "2-digit"
|
hour
|
string
|
是
|
是
|
小时的显示格式,取值范围:"numeric", "2-digit"
|
minute
|
string
|
是
|
是
|
分钟的显示格式,取值范围:"numeric", "2-digit"
|
second
|
string
|
是
|
是
|
秒钟的显示格式,取值范围:"numeric", "2-digit"
|
timeZoneName
|
string
|
是
|
是
|
时区名称的本地化表示
|
dayPeriod
|
string
|
是
|
是
|
时段的显示格式,取值范围:"long", "short", "narrow"
|
localeMatcher
|
string
|
是
|
是
|
要使用的区域匹配算法,取值范围:"lookup", "best fit"
|
formatMatcher
|
string
|
是
|
是
|
要使用的格式匹配算法,取值范围:"basic", "best fit"
|