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:
      timezone used in the resulting OffsetDateTime
    • setTimezone

      public void setTimezone(ZoneId timezone)
      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.