getLocaleFirstDayOfWeek
함수
사용 중단 권고v18.0부터
Retrieves the first day of the week for the given locale.
사용 중단을 권고합니다.
@paramlocale
stringA locale code for the locale format rules to use.
@returns
WeekDayA day index number, using the 0-based week-day index for en-US
(Sunday = 0, Monday = 1, ...).
For example, for fr-FR, returns 1 to indicate that the first day is Monday.
상세 내용으로 이동