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.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of this configuration object.Returns the timezone used in the resultingOffsetDateTime.voidsetTimezone(ZoneId timezone) Sets the timezone used for the conversion ofOffsetDateTimeobjects.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.config.JdbiConfig
setRegistry
-
Field Details
-
timezone
-
-
Constructor Details
-
TimestampedConfig
public TimestampedConfig() -
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
Description copied from interface:JdbiConfigReturns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.- Specified by:
createCopyin interfaceJdbiConfig<TimestampedConfig>- Returns:
- a copy of this configuration object.
-