Represents a time column for Data API tables.

You may use the time function as a shorthand for creating a new DataAPITime.

See the official DataStax documentation for more information.

Implements

Constructors

Properties

#time: string

Methods

  • Converts this DataAPITime to a Date object

    If no base date/time is provided to use the date from, the date component is set to be the current date.

    Parameters

    Returns Date

    The Date object representing this DataAPITime

  • Parameters

    • hours: number
    • minutes: number
    • seconds: number
    • Optional fractional: unknown

    Returns string