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 for Timestamped.
  • Constructor Details

    • TimestampedConfig

      public TimestampedConfig()
  • Method Details

    • getTimezone

      public ZoneId getTimezone()
      Returns the timezone used in the resulting OffsetDateTime.
      Returns:
      The timezone used in the resulting OffsetDateTime
    • setTimezone

      public void setTimezone(ZoneId timezone)
      Sets the timezone used for the conversion of OffsetDateTime objects.
      Parameters:
      timezone - used in the resulting OffsetDateTime
    • createCopy

      public TimestampedConfig createCopy()
      Description copied from interface: JdbiConfig
      Returns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.
      Specified by:
      createCopy in interface JdbiConfig<TimestampedConfig>
      Returns:
      a copy of this configuration object.