Class SQL_DAY_SECOND_STRUCT

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SQL_DAY_SECOND_STRUCT extends Struct<SQL_DAY_SECOND_STRUCT> implements NativeResource
struct SQL_DAY_SECOND_STRUCT {
    SQLUINTEGER day;
    SQLUINTEGER hour;
    SQLUINTEGER minute;
    SQLUINTEGER second;
    SQLUINTEGER fraction;
}
  • Field Details

    • SIZEOF

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

      public static final int ALIGNOF
      The struct alignment in bytes.
    • 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.
  • Constructor Details

    • SQL_DAY_SECOND_STRUCT

      public SQL_DAY_SECOND_STRUCT(ByteBuffer container)
      Creates a SQL_DAY_SECOND_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