Package org.jdbi.v3.sqlobject.customizer
Class TimestampedConfig
- java.lang.Object
-
- org.jdbi.v3.sqlobject.customizer.TimestampedConfig
-
- All Implemented Interfaces:
JdbiConfig<TimestampedConfig>
public class TimestampedConfig extends Object implements JdbiConfig<TimestampedConfig>
Configuration forTimestamped.
-
-
Constructor Summary
Constructors Constructor Description TimestampedConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimestampedConfigcreateCopy()ZoneIdgetTimezone()voidsetTimezone(ZoneId timezone)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jdbi.v3.core.config.JdbiConfig
setRegistry
-
-
-
-
Method Detail
-
getTimezone
public ZoneId getTimezone()
- Returns:
- timezone used in the resulting
OffsetDateTime
-
setTimezone
public void setTimezone(ZoneId timezone)
- Parameters:
timezone- used in the resultingOffsetDateTime
-
createCopy
public TimestampedConfig createCopy()
- Specified by:
createCopyin interfaceJdbiConfig<TimestampedConfig>
-
-