OracleDateTime Constructor (Int32, Int32, Int32, Calendar)
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, day, and calendar of the new structure.
Assembly: System.Data.OracleClient (in System.Data.OracleClient.dll)
Parameters
- year
-
Type:
System.Int32
An integer value representing the year of the new OracleDateTime structure.
- month
-
Type:
System.Int32
An integer value representing the month of the new OracleDateTime structure.
- day
-
Type:
System.Int32
An integer value representing the day of the month of the new OracleDateTime structure.
- calendar
-
Type:
System.Globalization.Calendar
The Calendar for this instance of OracleDateTime.
.NET Framework
Available since 1.1
Available since 1.1
Show: