sealed abstract case class Timestamp extends Product with Serializable
Timestamp wraps a java.util.Instant
that is truncated to microsecond
resolution. This allows Timestamps to roundtrip to/from the database
where only microsecond resolution is supported. In addition the min
and max instants that are supported are determined by the postgres limit for
timestamps.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Timestamp
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def epochSecond: Long
Gets the number of seconds from the Java epoch of 1970-01-01T00:00:00Z.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def plusMicros(microsToAdd: Long): Option[Timestamp]
- def plusMillis(millisToAdd: Long): Option[Timestamp]
- def plusSeconds(secondsToAdd: Long): Option[Timestamp]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toEpochMilli: Long
Converts this instant to the number of milliseconds from the epoch of 1970-01-01T00:00:00Z.
- val toInstant: Instant
- def toString(): String
- Definition Classes
- Timestamp → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def µs: Long
Gets the number of microseconds after the start of the second returned by
epochSecond
.