This documentation is archived and is not being maintained.
OracleTimeSpan Structure
Visual Studio 2010
Represents a time interval and corresponds to the Oracle 9i INTERVAL DAY TO SECOND data type.
Assembly: System.Data.OracleClient (in System.Data.OracleClient.dll)
The OracleTimeSpan type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | OracleTimeSpan(Int64) | Initializes a new OracleTimeSpan structure to the specified number of ticks. |
![]() | OracleTimeSpan(OracleTimeSpan) | Initializes a new OracleTimeSpan structure from an existing one. |
![]() | OracleTimeSpan(TimeSpan) | Initializes a new instance of the OracleTimeSpan structure with the specified System::TimeSpan. |
![]() | OracleTimeSpan(Int32, Int32, Int32) | Initializes a new OracleTimeSpan structure to a specified number of hours, minutes, and seconds. |
![]() | OracleTimeSpan(Int32, Int32, Int32, Int32) | Initializes a new OracleTimeSpan structure to a specified number of days, hours, minutes, and seconds. |
![]() | OracleTimeSpan(Int32, Int32, Int32, Int32, Int32) | Initializes a new OracleTimeSpan structure to a specified number of days, hours, minutes, seconds, and milliseconds. |
| Name | Description | |
|---|---|---|
![]() | Days | Gets the number of whole days represented by this instance. |
![]() | Hours | Gets the number of whole hours represented by this instance. |
![]() | IsNull | 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. |
| Name | Description | |
|---|---|---|
![]() | CompareTo | 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. (Overrides ValueType::Equals(Object).) |
![]() ![]() | Equals(OracleTimeSpan, OracleTimeSpan) | Performs a logical comparison of two OracleTimeSpan structures to determine whether they are equal. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Gets the hash code for this instance. (Overrides ValueType::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | GreaterThan | Compares two instances of OracleTimeSpan to determine whether the first is greater than the second. |
![]() ![]() | GreaterThanOrEqual | Compares two instances of OracleTimeSpan to determine whether the first is greater than or equal to the second. |
![]() ![]() | LessThan | Compares two instances of OracleTimeSpan to determine whether the first is less than the second. |
![]() ![]() | LessThanOrEqual | Compares two instances of OracleTimeSpan to determine whether the first is less than or equal to the second. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | NotEquals | Performs a logical comparison of two instances of OracleTimeSpan to determine whether they are not equal. |
![]() ![]() | Parse | Converts the specified String representation of a date and time to its OracleTimeSpan equivalent. |
![]() | ToString | Converts this OracleTimeSpan structure to a String. (Overrides ValueType::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Performs a logical comparison of two OracleTimeSpan structures to determine whether they are equal. |
![]() ![]() | Explicit(OracleTimeSpan to TimeSpan) | Converts an OracleTimeSpan structure to a TimeSpan structure. |
![]() ![]() | Explicit(String to OracleTimeSpan) | Converts a string to an OracleTimeSpan structure. |
![]() ![]() | GreaterThan | Compares two instances of OracleTimeSpan to determine whether the first is greater than the second. |
![]() ![]() | GreaterThanOrEqual | Compares two instances of OracleTimeSpan to determine whether the first is greater than or equal to the second. |
![]() ![]() | Inequality | Performs a logical comparison of two instances of OracleTimeSpan to determine whether they are equal. |
![]() ![]() | LessThan | Compares two instances of OracleTimeSpan to determine whether the first is less than the second. |
![]() ![]() | LessThanOrEqual | Compares two instances of OracleTimeSpan to determine whether the first is less than or equal to the second. |
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
