OracleTimeSpan 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 a time interval and corresponds to the Oracle 9i INTERVAL DAY TO SECOND
data type.
public value class OracleTimeSpan : IComparable, System::Data::SqlTypes::INullable
public struct OracleTimeSpan : IComparable, System.Data.SqlTypes.INullable
type OracleTimeSpan = struct
interface INullable
Public Structure OracleTimeSpan
Implements IComparable, INullable
- Inheritance
- Implements
The Oracle INTERVAL DAY TO SECOND
data type (Oracle 9i or later) contains an interval of time in days, hours, minutes, and seconds, and has a fixed size of 11 bytes.
To obtain an OracleTimeSpan object, call the GetOracleTimeSpan method.
Oracle |
Initializes a new OracleTimeSpan structure to a specified number of days, hours, minutes, seconds, and milliseconds. |
Oracle |
Initializes a new OracleTimeSpan structure to a specified number of days, hours, minutes, and seconds. |
Oracle |
Initializes a new OracleTimeSpan structure to a specified number of hours, minutes, and seconds. |
Oracle |
Initializes a new OracleTimeSpan structure to the specified number of ticks. |
Oracle |
Initializes a new OracleTimeSpan structure from an existing one. |
Oracle |
Initializes a new instance of the OracleTimeSpan structure with the specified TimeSpan. |
Max |
Represents the maximum valid date value for an OracleTimeSpan structure. |
Min |
Represents the minimum valid date value for an OracleTimeSpan structure. |
Null |
Represents a null value that can be assigned to the Value property of an instance of the OracleTimeSpan structure. |
Days |
Gets the number of whole days represented by this instance. |
Hours |
Gets the number of whole hours represented by this instance. |
Is |
Gets a value indicating whether the Value property of the OracleTimeSpan structure is null. |
Milliseconds |
Gets the number of whole milliseconds represented by this instance. |
Minutes |
Gets the number of whole minutes represented by this instance. |
Seconds |
Gets the number of whole seconds represented by this instance. |
Value |
Gets the value of the OracleTimeSpan structure. |
Compare |
Compares this OracleTimeSpan 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 OracleTimeSpan object. |
Equals(Oracle |
Performs a logical comparison of two OracleTimeSpan structures to determine whether they are equal. |
Get |
Gets the hash code for this instance. |
Greater |
Compares two instances of OracleTimeSpan to determine whether the first is greater than the second. |
Greater |
Compares two instances of OracleTimeSpan to determine whether the first is greater than or equal to the second. |
Less |
Compares two instances of OracleTimeSpan to determine whether the first is less than the second. |
Less |
Compares two instances of OracleTimeSpan to determine whether the first is less than or equal to the second. |
Not |
Performs a logical comparison of two instances of OracleTimeSpan to determine whether they are not equal. |
Parse(String) |
Converts the specified String representation of a date and time to its OracleTimeSpan equivalent. |
To |
Converts this OracleTimeSpan structure to a String. |
Equality(Oracle |
Performs a logical comparison of two OracleTimeSpan structures to determine whether they are equal. |
Explicit(Oracle |
Converts an OracleTimeSpan structure to a TimeSpan structure. |
Explicit(String to Oracle |
Converts a string to an OracleTimeSpan structure. |
Greater |
Compares two instances of OracleTimeSpan to determine whether the first is greater than the second. |
Greater |
Compares two instances of OracleTimeSpan to determine whether the first is greater than or equal to the second. |
Inequality(Oracle |
Performs a logical comparison of two instances of OracleTimeSpan to determine whether they are equal. |
Less |
Compares two instances of OracleTimeSpan to determine whether the first is less than the second. |
Less |
Compares two instances of OracleTimeSpan to determine whether 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: