Class TimestampedConfig

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.time.ZoneId timezone  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TimestampedConfig createCopy()
      Returns a copy of this configuration object.
      java.time.ZoneId getTimezone()
      Returns the timezone used in the resulting OffsetDateTime.
      void setTimezone​(java.time.ZoneId timezone)
      Sets the timezone used for the conversion of OffsetDateTime objects.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timezone

        private java.time.ZoneId timezone
    • Constructor Detail

      • TimestampedConfig

        public TimestampedConfig()
    • Method Detail

      • getTimezone

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

        public void setTimezone​(java.time.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.