HsqldbTimeJdbcTypeWithOffset

slick.jdbc.HsqldbProfile.HsqldbJdbcTypes.HsqldbTimeJdbcTypeWithOffset

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.

Attributes

Source:
HsqldbProfile.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

def offsetConvertHsqldbToISO(hsqldbString: String): String

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

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

Attributes

Source:
HsqldbProfile.scala
def offsetConvertISOToHsqldb(isoString: String): String

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

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

Attributes

Source:
HsqldbProfile.scala

Concrete fields

protected val datetimeFormatter: DateTimeFormatter

Attributes

Source:
HsqldbProfile.scala
protected val timeFormatter: DateTimeFormatter

Attributes

Source:
HsqldbProfile.scala