JsTimestamp

smile.json.JsTimestamp
See theJsTimestamp companion class
object JsTimestamp

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(time: Date): JsTimestamp

Lifts a java.util.Date object to a JsTimestamp value.

Lifts a java.util.Date object to a JsTimestamp value.

Attributes

def apply(time: Long): JsTimestamp

Constructs a JsTimestamp object using the milliseconds from the epoch.

Constructs a JsTimestamp object using the milliseconds from the epoch.

Value parameters

time

milliseconds since January 1, 1970, 00:00:00 GMT. A negative number is the number of milliseconds before January 1, 1970, 00:00:00 GMT.

Attributes

def apply(time: String): JsTimestamp

Converts a String object in JDBC timestamp escape format to a JsTimestamp value.

Converts a String object in JDBC timestamp escape format to a JsTimestamp value.

Value parameters

time

timestamp in format yyyy-[m]m-[d]d hh:mm:ss[.f...]. The fractional seconds may be omitted. The leading zero for mm and dd may also be omitted.

Attributes