PostgresUtils
methods instead@Deprecated public class PGIntervalConverter extends Object
org.postgresql.util.PGInterval
Postgres returns an undisclosed internal type for intervals. This converter
takes care of converting the internal type to jOOQ's interval data types
DayToSecond
and YearToMonth
Note, that Postgres uses some non-standard ways of describing negative intervals. Negative intervals have a sign before every date part!
Constructor and Description |
---|
PGIntervalConverter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DayToSecond |
toDayToSecond(Object pgInterval)
Deprecated.
- 2.3.0 - Use
PostgresUtils.toDayToSecond(Object)
methods instead |
static Object |
toPGInterval(DayToSecond interval)
Deprecated.
- 2.3.0 - Use
PostgresUtils.toPGInterval(DayToSecond)
methods instead |
static Object |
toPGInterval(YearToMonth interval)
Deprecated.
- 2.3.0 - Use
PostgresUtils.toPGInterval(YearToMonth)
methods instead |
static YearToMonth |
toYearToMonth(Object pgInterval)
Deprecated.
- 2.3.0 - Use
PostgresUtils.toYearToMonth(Object)
methods instead |
@Deprecated public static Object toPGInterval(DayToSecond interval)
PostgresUtils.toPGInterval(DayToSecond)
methods insteadDAY TO SECOND
interval to a Postgres
representation@Deprecated public static Object toPGInterval(YearToMonth interval)
PostgresUtils.toPGInterval(YearToMonth)
methods insteadYEAR TO MONTH
interval to a Postgres
representation@Deprecated public static DayToSecond toDayToSecond(Object pgInterval)
PostgresUtils.toDayToSecond(Object)
methods insteadDAY TO SECOND
interval@Deprecated public static YearToMonth toYearToMonth(Object pgInterval)
PostgresUtils.toYearToMonth(Object)
methods insteadYEAR TO MONTH
intervalCopyright © 2013. All Rights Reserved.