MF1 (v3) docs
GitHub
Preparing search index...
The search index is not available
Unicode MessageFormat for JavaScript
Unicode MessageFormat for JavaScript
messageformat/functions
MessageDateTime
Interface MessageDateTime
Beta
The resolved value of a
:date
,
:datetime
, or
:time
expression.
interface
MessageDateTime
{
dir
:
"ltr"
|
"rtl"
|
"auto"
;
options
:
Readonly
<
DateTimeFormatOptions
>
;
selectKey
?:
(
keys
:
Set
<
string
>
)
=>
null
|
string
;
source
:
string
;
type
:
"datetime"
;
toParts
()
:
[
MessageDateTimePart
]
;
toString
()
:
string
;
valueOf
()
:
Date
;
}
Hierarchy (
View Summary
)
MessageValue
<
"datetime"
>
MessageDateTime
Index
Properties
dir
options
select
Key?
source
type
Methods
to
Parts
to
String
value
Of
Properties
Readonly
Beta
dir
dir
:
"ltr"
|
"rtl"
|
"auto"
Readonly
Beta
options
options
:
Readonly
<
DateTimeFormatOptions
>
Optional
Beta
select
Key
selectKey
?:
(
keys
:
Set
<
string
>
)
=>
null
|
string
Readonly
Beta
source
source
:
string
Readonly
Beta
type
type
:
"datetime"
Methods
to
Parts
toParts
()
:
[
MessageDateTimePart
]
Beta
Returns
[
MessageDateTimePart
]
to
String
toString
()
:
string
Beta
Returns
string
value
Of
valueOf
()
:
Date
Beta
Returns
Date
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
dir
options
select
Key
source
type
Methods
to
Parts
to
String
value
Of
MF1 (v3) docs
GitHub
Unicode MessageFormat for JavaScript
Loading...
The resolved value of a :date, :datetime, or :time expression.