MessageDateTime class
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
A child class of MessageValue for Date values.
Signature:
export declare class MessageDateTime extends MessageValue<Date>
Extends: MessageValue<Date>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(locale, date, { meta, options, source }) | (BETA) Constructs a new instance of the MessageDateTime class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
options? | Intl.DateTimeFormatOptions | (BETA) (Optional) |
Methods
Method | Modifiers | Description |
---|---|---|
toParts() | (BETA) | |
toString(onError) | (BETA) |