Identifies a value as a Date object (value instanceof Date), and associates it
with the lookup key "Date" (const LookupKey.Date)
It uses the lookup key "Date" which only has the date part of date and time,
not "DateTime" because the time part is less frequently used.
Explicitly specify a lookup key of "DateTime" if time is needed.
The unique lookup key you will use to identify this native data type.
Returns string
Methods
supportsValue
supportsValue(value): boolean
Determines if the value is identified as a match and maps to DataTypeLookupKey.
Parameters
value: any
Returns boolean
sampleValue
sampleValue(): Date
Returns a sample value that is representative of the DataTypeLookupKey.
Used by ConfigAnalysis to get a value that can be passed into services
that take a live value, such as converters, parsers and formatters.
Identifies a value as a Date object (value instanceof Date), and associates it with the lookup key "Date" (const LookupKey.Date) It uses the lookup key "Date" which only has the date part of date and time, not "DateTime" because the time part is less frequently used. Explicitly specify a lookup key of "DateTime" if time is needed.