Creates a new DataAPIVector
instance from various formats.
Optional
input: string | Date | DataAPIDateComponentsThe input to create the DataAPIDate
from
Private
Readonly
#dateImplementation of $SerializeForTable
for TableCodec
Returns the DataAPIDateComponents that make up this DataAPIDate
The components of the date
Converts this DataAPIDate
to a Date
object
If no base
date/time is provided to use the time from, the time component is set to be the current time.
Optional
base: Date | DataAPITime | DataAPITimestampThe base date/time to use for the time component
The Date
object representing this DataAPIDate
Static
[$Implementation of $DeserializeForTable
for TableCodec
Represents a
date
column for Data API tables.You may use the date function as a shorthand for creating a new
DataAPIDate
.See the official DataStax documentation for more information.