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.
Declaration
// C# public OracleDate (int year, int month, int day, int hour, int minute, int second);
Parameters
-
yearThe supplied year. Range of
yearis (-4712 to 9999). -
monthThe supplied month. Range of
monthis (1 to 12). -
dayThe supplied day. Range of
dayis (1 to 31). -
hourThe supplied hour. Range of
houris (0 to 23). -
minuteThe supplied minute. Range of
minuteis (0 to 59). -
secondThe supplied second. Range of
secondis (0 to 59).
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 OracleDate (that is, the day is out of range for the month).