14.8.2.5 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.
Declaration
// C# public OracleTimeStamp(int year, int month, int day, int hour, int minute, int second, double millisecond);
Parameters
-
yearThe year provided. Range of
yearis (-4712 to 9999). -
monthThe month provided. Range of
monthis (1 to 12). -
dayThe day provided. Range of
dayis (1 to 31). -
hourThe hour provided. Range of
houris (0 to 23). -
minuteThe minute provided. Range of
minuteis (0 to 59). -
secondThe second provided. Range of
secondis (0 to 59). -
milliSecondsThe milliseconds provided. Range of
millisecondis (0 to 999.999999).
Exceptions
ArgumentOutOfRangeException - The argument value for one or more of the parameters is out of the specified range.
ArgumentException - The argument values of the parameters cannot be used to construct a valid OracleTimeStamp (that is, the day is out of range for the month).