trait JavaTimeInstances extends MetaConstructors
Instances for JSR-310 date time types.
Implementation is based on https://jdbc.postgresql.org/documentation/head/java8-date-time.html, using native support for Postgres JDBC driver.
- Source
- JavaTimeInstances.scala
- Alphabetic
- By Inheritance
- JavaTimeInstances
- MetaConstructors
- AnyRef
- Any
- Hide All
- Show All
- 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
- implicit val JavaTimeInstantMeta: doobie.Meta[Instant]
This type should map to TIMESTAMP WITH TIMEZONE (TIMESTAMPTZ)
- implicit val JavaTimeLocalDateMeta: doobie.Meta[LocalDate]
This type should map to DATE
- implicit val JavaTimeLocalDateTimeMeta: doobie.Meta[LocalDateTime]
This type should map to TIMESTAMP
- implicit val JavaTimeLocalTimeMeta: doobie.Meta[LocalTime]
This type should map to TIME
- implicit val JavaTimeOffsetDateTimeMeta: doobie.Meta[OffsetDateTime]
This type should map to TIMESTAMP WITH TIMEZONE (TIMESTAMPTZ) When writing to the database, the same instant is preserved if your target column is of type TIMESTAMPTZ (The JDBC driver works out the timezone conversion for you).
This type should map to TIMESTAMP WITH TIMEZONE (TIMESTAMPTZ) When writing to the database, the same instant is preserved if your target column is of type TIMESTAMPTZ (The JDBC driver works out the timezone conversion for you). Note that since offset information is not stored in the database column, retrieving the same value will yield the same instant in time, but with offset = 0 (UTC)
- implicit val JavaTimeOffsetTimeMeta: doobie.Meta[OffsetTime]
This type should map to TIME WITH TIMEZONE (TIMETZ)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @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
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object Advanced
- Definition Classes
- MetaConstructors
- object Basic
- Definition Classes
- MetaConstructors