Class SQL_SS_TIMESTAMPOFFSET_STRUCT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class SQL_SS_TIMESTAMPOFFSET_STRUCT
    extends Struct
    implements NativeResource

    Layout

    
     struct SQL_SS_TIMESTAMPOFFSET_STRUCT {
         SQLSMALLINT year;
         SQLUSMALLINT month;
         SQLUSMALLINT day;
         SQLUSMALLINT hour;
         SQLUSMALLINT minute;
         SQLUSMALLINT second;
         SQLUINTEGER fraction;
         SQLSMALLINT timezone_hour;
         SQLSMALLINT timezone_minute;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, FRACTION, TIMEZONE_HOUR, TIMEZONE_MINUTE

        The struct member offsets.
    • Constructor Detail

      • SQL_SS_TIMESTAMPOFFSET_STRUCT

        public SQL_SS_TIMESTAMPOFFSET_STRUCT​(java.nio.ByteBuffer container)
        Creates a SQL_SS_TIMESTAMPOFFSET_STRUCT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.