Class SQL_SS_TIMESTAMPOFFSET_STRUCT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<SQL_SS_TIMESTAMPOFFSET_STRUCT>
org.lwjgl.odbc.SQL_SS_TIMESTAMPOFFSET_STRUCT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class SQL_SS_TIMESTAMPOFFSET_STRUCT extends org.lwjgl.system.Struct<SQL_SS_TIMESTAMPOFFSET_STRUCT> implements org.lwjgl.system.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 Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • YEAR

      public static final int YEAR
      The struct member offsets.
    • MONTH

      public static final int MONTH
      The struct member offsets.
    • DAY

      public static final int DAY
      The struct member offsets.
    • HOUR

      public static final int HOUR
      The struct member offsets.
    • MINUTE

      public static final int MINUTE
      The struct member offsets.
    • SECOND

      public static final int SECOND
      The struct member offsets.
    • FRACTION

      public static final int FRACTION
      The struct member offsets.
    • TIMEZONE_HOUR

      public static final int TIMEZONE_HOUR
      The struct member offsets.
    • TIMEZONE_MINUTE

      public static final int TIMEZONE_MINUTE
      The struct member offsets.
  • Constructor Details

    • SQL_SS_TIMESTAMPOFFSET_STRUCT

      public SQL_SS_TIMESTAMPOFFSET_STRUCT(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.

  • Method Details