Package org.jdbi.v3.sqlobject.customizer
Class TimestampedConfig
java.lang.Object
org.jdbi.v3.sqlobject.customizer.TimestampedConfig
- All Implemented Interfaces:
JdbiConfig<TimestampedConfig>
Configuration for
Timestamped.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the timezone used in the resultingOffsetDateTime.voidsetTimezone(ZoneId timezone) Sets the timezone used for the conversion ofOffsetDateTimeobjects.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.config.JdbiConfig
setRegistry
-
Constructor Details
-
TimestampedConfig
public TimestampedConfig()
-
-
Method Details
-
getTimezone
Returns the timezone used in the resultingOffsetDateTime.- Returns:
- The timezone used in the resulting
OffsetDateTime
-
setTimezone
Sets the timezone used for the conversion ofOffsetDateTimeobjects.- Parameters:
timezone- used in the resultingOffsetDateTime
-
createCopy
- Specified by:
createCopyin interfaceJdbiConfig<TimestampedConfig>
-