Intl.DateTimeFormat.prototype
속성은 Intl.DateTimeFormat
생성자의 프로토타입을 나타냅니다.
Property attributes of Intl.DateTimeFormat.prototype |
|
---|---|
Writable | no |
Enumerable | no |
Configurable | no |
설명
Intl.DateTimeFormat
인스턴스에 대한 설명은 DateTimeFormat
문서를 참고하세요.
Intl.DateTimeFormat
인스턴스는 Intl.DateTimeFormat.prototype
을 상속합니다. 프로토타입 객체를 변경하면 모든 Intl.DateTimeFormat
인스턴스가 영향을 받습니다.
속성
Intl.DateTimeFormat.prototype.constructor
Intl.DateTimeFormat
에 대한 참조입니다.
메서드
Intl.DateTimeFormat.prototype.format()
- 주어진 날짜에
DateTimeFormat
객체의 로케일과 서식 설정을 적용해 반환합니다.
Intl.DateTimeFormat.prototype.formatToParts()
- 서식을 적용한 날짜 문자열의 각 부분을 객체로 표현해서
Array
로 반환합니다. 반환 값은 로케일별 커스텀 서식에 사용할 수 있습니다. Intl.DateTimeFormat.prototype.resolvedOptions()
- 객체 인스턴스 생성 때 주어진 로케일과 서식 설정이 어떻게 반영되었나 나타내는 새로운 객체를 반환합니다.
명세
브라우저 호환성
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
No compatibility data found. Please contribute data for "javascript.builtins.Intl.DateTimeFormat.prototype" (depth: 1) to the MDN compatibility data repository.