Packages

t

doobie.postgres

JavaTimeInstances

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
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaTimeInstances
  2. MetaConstructors
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val JavaTimeInstantMeta: doobie.Meta[Instant]

    This type should map to TIMESTAMP WITH TIMEZONE (TIMESTAMPTZ)

  5. implicit val JavaTimeLocalDateMeta: doobie.Meta[LocalDate]

    This type should map to DATE

  6. implicit val JavaTimeLocalDateTimeMeta: doobie.Meta[LocalDateTime]

    This type should map to TIMESTAMP

  7. implicit val JavaTimeLocalTimeMeta: doobie.Meta[LocalTime]

    This type should map to TIME

  8. 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)

  9. implicit val JavaTimeOffsetTimeMeta: doobie.Meta[OffsetTime]

    This type should map to TIME WITH TIMEZONE (TIMETZ)

  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. object Advanced
    Definition Classes
    MetaConstructors
  26. object Basic
    Definition Classes
    MetaConstructors

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from MetaConstructors

Inherited from AnyRef

Inherited from Any

Ungrouped