Die
Intl.DateTimeFormat.prototype
Eigenschaft ist ein Prototype Objekt für den Intl.DateTimeFormat
Konstruktor.Property attributes of Intl.DateTimeFormat.prototype |
|
---|---|
Writable | no |
Enumerable | no |
Configurable | no |
Beschreibung
Für eine Beschreibung von Intl.DateTimeFormat
Instanzen siehe im Artikel DateTimeFormat
nach.
Intl.DateTimeFormat
Instanzen erben von Intl.DateTimeFormat.prototype
. Änderungen in der Eigenschaft prototype
wirken sich auf alle Instanzen von Intl.DateTimeFormat
aus.
Eigenschaften
Intl.DateTimeFormat.prototype.constructor
- Eine Referenz zu
Intl.DateTimeFormat
. Intl.DateTimeFormat.prototype.format
- Getter, der eine Funktion, die für das Formatieren von Datums- und Zeitangaben nach den Optionen des
DateTimeFormat
ermöglicht, wird zurückgegeben.
Methoden
Intl.DateTimeFormat.prototype.formatToParts()
- Gibt ein
Array
von Objekten zurück, die den formatierten String in Teilen repräsentiert. Das kann eingesetzt werden, um ein benutzerdefiniertes Format zu erstellen. Intl.DateTimeFormat.prototype.resolvedOptions()
- Gibt ein neues Objekt mit den Eigenschaften der Sprache und des Formates zum Erstellungszeitpunkt des Objektes zurück.
Spezifikationen
Browserkompatibilität
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 24 | 29 (29) | 11 | 15 | Nicht unterstützt |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | Nicht unterstützt | 26 | Nicht unterstützt | Nicht unterstützt | Nicht unterstützt | Nicht unterstützt |
Siehe auch
Schlagwörter des Dokuments und Mitwirkende
Schlagwörter:
Mitwirkende an dieser Seite:
schlagi123
Zuletzt aktualisiert von:
schlagi123,