Represents a Cassandra time type.

Inherits

Object

Includes

  • Comparable

Methods

hours

Returns an integer between 0 and 24, the number of full hours since midnight that this time represents

Returns:
Type Details
Integer an integer between 0 and 24, the number of full hours since midnight that this time represents

minutes

Returns an integer between 0 and 60, the number of full minutes since the last full hour that this time represents

Returns:
Type Details
Integer an integer between 0 and 60, the number of full minutes since the last full hour that this time represents

seconds

Returns an integer between 0 and 60, the number of full seconds since the last full minutes that this time represents

Returns:
Type Details
Integer an integer between 0 and 60, the number of full seconds since the last full minutes that this time represents

miliseconds

Returns an integer between 0 and 60, the number of full miliseconds since the last full second that this time represents

Returns:
Type Details
Integer an integer between 0 and 60, the number of full miliseconds since the last full second that this time represents

to_s

Returns a “%H:%M%S.%3N” formatted time string

Returns:
Type Details
String a “%H:%M%S.%3N” formatted time string

to_nanoseconds

Returns an integer between 0 and 86400000000000, the number of nanoseconds since midnight that this time represents

Returns:
Type Details
Integer an integer between 0 and 86400000000000, the number of nanoseconds since midnight that this time represents