struct

Cassandra::DBApi::Date

Inherits Struct / Value / Object

Represents the Cassandra date type.

Constructors

new(date : ::Time)
Source
new(days : UInt32)
Source

Instance methods

==(other : self) : Bool
Source
date
Source
days
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source