14.3.2 OracleDate Constructors

The OracleDate constructors instantiates a new instance of the OracleDate structure.

Overload List:

  • OracleDate(DateTime)

    This constructor creates a new instance of the OracleDate structure and sets its value for date and time using the supplied DateTime value.

  • OracleDate(string)

    This constructor creates a new instance of the OracleDate structure and sets its value using the supplied string.

  • OracleDate(int, int, int)

    This constructor creates a new instance of the OracleDate structure and set its value for date using the supplied year, month, and day.

  • OracleDate(int, int, int, int, int, int)

    This constructor creates a new instance of the OracleDate structure and set its value for time using the supplied year, month, day, hour, minute, and second.

  • OracleDate(byte [ ])

    This constructor creates a new instance of the OracleDate structure and sets its value to the provided byte array, which is in the internal Oracle DATE format.