14.8.2 OracleTimeStamp Constructors

The OracleTimeStamp constructors create new instances of the OracleTimeStamp structure.

Overload List:

  • OracleTimeStamp(DateTime)

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

  • OracleTimeStamp(string)

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

  • OracleTimeStamp(int, int, int)

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

  • OracleTimeStamp(int, int, int, int, int, int)

    This constructor creates a new instance of the OracleTimeStamp structure and sets its value for date and time using year, month, day, hour, minute, and second.

  • OracleTimeStamp(int, int, int, int, int, int, double)

    This constructor creates a new instance of the OracleTimeStamp structure and sets its value for date and time using year, month, day, hour, minute, second, and millisecond.

  • OracleTimeStamp(int, int, int, int, int, int, int)

    This constructor creates a new instance of the OracleTimeStamp structure and sets its value for date and time using year, month, day, hour, minute, second, and nanosecond.

  • OracleTimeStamp(byte [ ])

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