Packages

t

slick.jdbc.HsqldbProfile.JdbcTypes

HsqldbTimeJdbcTypeWithOffset

trait HsqldbTimeJdbcTypeWithOffset extends AnyRef

HSQLDB uses a non-standard string representation of timestamps. It doesn't pad the hour and offset-hour with zeros. Although the hour can be handled by DateTimeFormatterBuilder, the offset hour can't. See it's method appendOffset() So we handle this in two steps: first pad (trim) zeros in the offset, and then use a custom DateTimeFormatterBuilder.

Source
HsqldbProfile.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HsqldbTimeJdbcTypeWithOffset
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def offsetConvertHsqldbToISO(hsqldbString: String): String

    Add offset padding e.g.

    Add offset padding e.g. +1:00 becomes +01:00.

  2. def offsetConvertISOToHsqldb(isoString: String): String

    Remove offset padding e.g.

    Remove offset padding e.g. +01:00 becomes +1:00. 'Z' becomes '+0:00'.