Export (0) Print
Expand All

OracleDateTime Constructor (Int32, Int32, Int32, Int32, Int32, Int32, Calendar)

.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, day, hour, minute, second, for the specified calendar of the new structure.

[Visual Basic]
Public Sub New( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal day As Integer, _
   ByVal hour As Integer, _
   ByVal minute As Integer, _
   ByVal second As Integer, _
   ByVal calendar As Calendar _
)
[C#]
public OracleDateTime(
   int year,
 int month,
 int day,
 int hour,
 int minute,
 int second,
 Calendar calendar
);
[C++]
public: OracleDateTime(
   int year,
 int month,
 int day,
 int hour,
 int minute,
 int second,
 Calendar* calendar
);
[JScript]
public function OracleDateTime(
   year : int,
 month : int,
 day : int,
 hour : int,
 minute : int,
 second : int,
 calendar : Calendar
);

Parameters

year
An integer value representing the year of the new OracleDateTime structure.
month
An integer value representing the month of the new OracleDateTime structure.
day
An integer value representing the day of the month of the new OracleDateTime structure.
hour
An integer value representing the hour of the new OracleDateTime structure.
minute
An integer value representing the minute of the new OracleDateTime structure.
second
An integer value representing the second of the new OracleDateTime structure.
calendar
The System.Globalization.Calendar for this instance of OracleDateTime.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleDateTime Structure | OracleDateTime Members | System.Data.OracleClient Namespace | OracleDateTime Constructor Overload List

Show:
© 2014 Microsoft