OracleTimeStampTZ(int, int, int)
This constructor creates a new instance of the OracleTimeStampTZ
structure and sets its value for date and time using year, month, and day.
Declaration
// C#
public
OracleTimeStampTZ(int year, int month, int day);
Parameters
-
year
The year provided. Range of
year
is (-4712 to 9999). -
month
The month provided. Range of
month
is (1 to 12). -
day
The day provided. Range of
day
is (1 to 31).
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 OracleTimeStampTZ
(that is, the day is out of range for the month).
Remarks
The time zone is set to the OracleGlobalization.TimeZone
of the thread.