public abstract class TimestampConverter extends Object
| Constructor and Description |
|---|
TimestampConverter() |
| Modifier and Type | Method and Description |
|---|---|
static LocalDateTime |
parseLocal(PostgresReader reader,
int context,
boolean allowNulls) |
static List<LocalDateTime> |
parseLocalCollection(PostgresReader reader,
int context,
boolean allowNulls) |
static OffsetDateTime |
parseOffset(PostgresReader reader,
int context,
boolean allowNulls,
boolean asUtc) |
static List<OffsetDateTime> |
parseOffsetCollection(PostgresReader reader,
int context,
boolean allowNulls,
boolean asUtc) |
static int |
serialize(char[] buffer,
int pos,
OffsetDateTime value) |
static void |
serializeURI(PostgresBuffer sw,
LocalDateTime value) |
static void |
serializeURI(PostgresBuffer sw,
OffsetDateTime value) |
static void |
setParameter(PostgresBuffer sw,
PreparedStatement ps,
int index,
LocalDateTime value) |
static void |
setParameter(PostgresBuffer sw,
PreparedStatement ps,
int index,
OffsetDateTime value) |
static PostgresTuple |
toTuple(LocalDateTime value) |
static PostgresTuple |
toTuple(OffsetDateTime value) |
public static void setParameter(PostgresBuffer sw, PreparedStatement ps, int index, LocalDateTime value) throws SQLException
SQLExceptionpublic static void setParameter(PostgresBuffer sw, PreparedStatement ps, int index, OffsetDateTime value) throws SQLException
SQLExceptionpublic static void serializeURI(PostgresBuffer sw, LocalDateTime value)
public static void serializeURI(PostgresBuffer sw, OffsetDateTime value)
public static int serialize(char[] buffer,
int pos,
OffsetDateTime value)
public static LocalDateTime parseLocal(PostgresReader reader, int context, boolean allowNulls) throws IOException
IOExceptionpublic static OffsetDateTime parseOffset(PostgresReader reader, int context, boolean allowNulls, boolean asUtc) throws IOException
IOExceptionpublic static List<LocalDateTime> parseLocalCollection(PostgresReader reader, int context, boolean allowNulls) throws IOException
IOExceptionpublic static List<OffsetDateTime> parseOffsetCollection(PostgresReader reader, int context, boolean allowNulls, boolean asUtc) throws IOException
IOExceptionpublic static PostgresTuple toTuple(LocalDateTime value)
public static PostgresTuple toTuple(OffsetDateTime value)
Copyright © 2016. All rights reserved.