OracleDateTime Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents date and time data ranging in value from January 1, 4712 BC to December 31, 4712 AD.
public value class OracleDateTime : IComparable, System::Data::SqlTypes::INullable
public struct OracleDateTime : IComparable, System.Data.SqlTypes.INullable
type OracleDateTime = struct
interface INullable
Public Structure OracleDateTime
Implements IComparable, INullable
- Inheritance
- Implements
To obtain an OracleDateTime object, call the GetOracleDateTime method.
The minimum valid date for an OracleDateTime structure is 1/1/0001 00:00:00. However, Oracle supports dates as early as January 1, 4712 BC. To bind BC dates, use a String
parameter and the Oracle TO_DATE or TO_CHAR conversion functions for input and output parameters respectively.
Oracle |
Initializes a new instance of the OracleDateTime structure with the specified DateTime. |
Oracle |
Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, day, and calendar of the new structure. |
Oracle |
Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, day, hour, minute, and second for the specified calendar of the new structure. |
Oracle |
Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, day, hour, minute, second, and millisecond for the specified calendar of the new structure. |
Oracle |
Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, day, hour, minute, second, and millisecond of the new structure. |
Oracle |
Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, day, hour, minute, and second of the new structure. |
Oracle |
Initializes a new instance of the OracleDateTime structure using the supplied parameters to initialize the year, month, and day of the new structure. |
Oracle |
Initializes a new instance of the OracleDateTime structure using the supplied number of ticks. |
Oracle |
Initializes a new instance of the OracleDateTime structure from an existing OracleDateTime object. |
Max |
Represents the maximum valid date value for an OracleDateTime structure. |
Min |
Represents the minimum valid date value for an OracleDateTime structure. |
Null |
Represents a null value that can be assigned to the Value property of an instance of the OracleDateTime structure. |
Day |
Gets the value of the OracleDateTime structure as a day. |
Hour |
Gets the value of the OracleDateTime structure as an hour. |
Is |
Gets a value indicating whether the Value property of the OracleDateTime structure is null. |
Millisecond |
Gets the milliseconds component of the date represented by this instance. |
Minute |
Gets the value of the OracleDateTime structure as a minute. |
Month |
Gets the value of the OracleDateTime structure as a month. |
Second |
Gets the value of the OracleDateTime structure as a second. |
Value |
Gets the value of the OracleDateTime structure. |
Year |
Gets the value of the OracleDateTime structure as a year. |
Compare |
Compares this OracleDateTime structure to the supplied object and returns an indication of their relative values. |
Equals(Object) |
Compares the supplied object parameter to the Value property of the OracleDateTime object. |
Equals(Oracle |
Performs a logical comparison of two OracleDateTime structures to determine whether they are equal. |
Get |
Gets the hash code for this instance. |
Greater |
Compares two instances of OracleDateTime to determine whether the first is greater than the second. |
Greater |
Compares two instances of OracleDateTime to determine whether the first is greater than or equal to the second. |
Less |
Compares two instances of OracleDateTime to determine whether the first is less than the second. |
Less |
Compares two instances of OracleDateTime to determine whether the first is less than or equal to the second. |
Not |
Performs a logical comparison of two instances of OracleDateTime to determine if they are not equal. |
Parse(String) |
Converts the specified String representation of a date and time to its OracleDateTime equivalent. |
To |
Converts this OracleDateTime structure to a String. |
Equality(Oracle |
Performs a logical comparison of two OracleDateTime structures to determine if they are equal. |
Explicit(Oracle |
Converts an OracleDateTime structure to a DateTime structure. |
Explicit(String to Oracle |
Converts a |
Greater |
Compares two instances of OracleDateTime to determine if the first is greater than the second. |
Greater |
Compares two instances of OracleDateTime to determine if the first is greater than or equal to the second. |
Inequality(Oracle |
Performs a logical comparison of two instances of OracleDateTime to determine if they are equal. |
Less |
Compares two instances of OracleDateTime to determine if the first is less than the second. |
Less |
Compares two instances of OracleDateTime to determine if the first is less than or equal to the second. |
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: