Class ZonedDateTimeParameter

  • All Implemented Interfaces:
    java.lang.Cloneable, ParameterHolder

    public class ZonedDateTimeParameter
    extends java.lang.Object
    implements java.lang.Cloneable, ParameterHolder
    server doesn't support temporal with timezone (MDEV-10018) for the moment. So driver parse String entry and send it to Server according to server timezone
    • Field Detail

      • tz

        private final java.time.ZonedDateTime tz
      • fractionalSeconds

        private final boolean fractionalSeconds
    • Constructor Detail

      • ZonedDateTimeParameter

        public ZonedDateTimeParameter​(java.time.ZonedDateTime tz,
                                      java.time.ZoneId serverZoneId,
                                      boolean fractionalSeconds,
                                      Options options)
        Constructor.
        Parameters:
        tz - zone date time
        serverZoneId - server session zoneId
        fractionalSeconds - must fractional Seconds be send to database.
        options - session options