Intl.DateTimeFormat.prototype表示 Intl.DateTimeFormat构造函数的原型对象。
Intl.DateTimeFormat.prototype 属性的属性特性: |
|
|---|---|
| writable | false |
| enumerable | false |
| configurable | false |
参见 DateTimeFormat来看Intl.DateTimeFormat实例的一个描述。
Intl.DateTimeFormat 实例继承自Intl.DateTimeFormat.prototype. 对原型对象的修改都继承自Intl.DateTimeFormat实例。
Intl.DateTimeFormat.prototype.constructorIntl.DateTimeFormat.Intl.DateTimeFormat.prototype.formatDateTimeFormat对象的根据locale和格式化参数格式化日期的函数。Intl.DateTimeFormat.prototype.formatToParts()Array of objects representing the date string in parts that can be used for custom locale-aware formatting.Intl.DateTimeFormat.prototype.resolvedOptions()| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|
| Basic support | 24 | 29 (29) | 11 | 15 | 未实现 |
| Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|
| Basic support | 未实现 | 26 | 未实现 | 未实现 | 未实现 | 未实现 |