OracleTimeSpan Structure

OracleTimeSpan Structure

 

Represents a time interval and corresponds to the Oracle 9i INTERVAL DAY TO SECOND data type.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

Public Structure OracleTimeSpan
	Implements IComparable, INullable

NameDescription
System_CAPS_pubmethodOracleTimeSpan(Int32, Int32, Int32)

Initializes a new OracleTimeSpan structure to a specified number of hours, minutes, and seconds.

System_CAPS_pubmethodOracleTimeSpan(Int32, Int32, Int32, Int32)

Initializes a new OracleTimeSpan structure to a specified number of days, hours, minutes, and seconds.

System_CAPS_pubmethodOracleTimeSpan(Int32, Int32, Int32, Int32, Int32)

Initializes a new OracleTimeSpan structure to a specified number of days, hours, minutes, seconds, and milliseconds.

System_CAPS_pubmethodOracleTimeSpan(Int64)

Initializes a new OracleTimeSpan structure to the specified number of ticks.

System_CAPS_pubmethodOracleTimeSpan(OracleTimeSpan)

Initializes a new OracleTimeSpan structure from an existing one.

System_CAPS_pubmethodOracleTimeSpan(TimeSpan)

Initializes a new instance of the OracleTimeSpan structure with the specified System.TimeSpan.

NameDescription
System_CAPS_pubpropertyDays

Gets the number of whole days represented by this instance.

System_CAPS_pubpropertyHours

Gets the number of whole hours represented by this instance.

System_CAPS_pubpropertyIsNull

Gets a value indicating whether the Value property of the OracleTimeSpan structure is null.

System_CAPS_pubpropertyMilliseconds

Gets the number of whole milliseconds represented by this instance.

System_CAPS_pubpropertyMinutes

Gets the number of whole minutes represented by this instance.

System_CAPS_pubpropertySeconds

Gets the number of whole seconds represented by this instance.

System_CAPS_pubpropertyValue

Gets the value of the OracleTimeSpan structure.

NameDescription
System_CAPS_pubmethodCompareTo(Object)

Compares this OracleTimeSpan structure to the supplied object and returns an indication of their relative values.

System_CAPS_pubmethodEquals(Object)

Compares the supplied object parameter to the Value property of the OracleTimeSpan object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodSystem_CAPS_staticEquals(OracleTimeSpan, OracleTimeSpan)

Performs a logical comparison of two OracleTimeSpan structures to determine whether they are equal.

System_CAPS_pubmethodGetHashCode()

Gets the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGreaterThan(OracleTimeSpan, OracleTimeSpan)

Compares two instances of OracleTimeSpan to determine whether the first is greater than the second.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThanOrEqual(OracleTimeSpan, OracleTimeSpan)

Compares two instances of OracleTimeSpan to determine whether the first is greater than or equal to the second.

System_CAPS_pubmethodSystem_CAPS_staticLessThan(OracleTimeSpan, OracleTimeSpan)

Compares two instances of OracleTimeSpan to determine whether the first is less than the second.

System_CAPS_pubmethodSystem_CAPS_staticLessThanOrEqual(OracleTimeSpan, OracleTimeSpan)

Compares two instances of OracleTimeSpan to determine whether the first is less than or equal to the second.

System_CAPS_pubmethodSystem_CAPS_staticNotEquals(OracleTimeSpan, OracleTimeSpan)

Performs a logical comparison of two instances of OracleTimeSpan to determine whether they are not equal.

System_CAPS_pubmethodSystem_CAPS_staticParse(String)

Converts the specified String representation of a date and time to its OracleTimeSpan equivalent.

System_CAPS_pubmethodToString()

Converts this OracleTimeSpan structure to a String.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticMaxValue

Represents the maximum valid date value for an OracleTimeSpan structure.

System_CAPS_pubfieldSystem_CAPS_staticMinValue

Represents the minimum valid date value for an OracleTimeSpan structure.

System_CAPS_pubfieldSystem_CAPS_staticNull

Represents a null value that can be assigned to the Value property of an instance of the OracleTimeSpan structure.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(OracleTimeSpan, OracleTimeSpan)

Performs a logical comparison of two OracleTimeSpan structures to determine whether they are equal.

System_CAPS_puboperatorSystem_CAPS_staticNarrowing(OracleTimeSpan to TimeSpan)

Converts an OracleTimeSpan structure to a TimeSpan structure.

System_CAPS_puboperatorSystem_CAPS_staticNarrowing(String to OracleTimeSpan)

Converts a string to an OracleTimeSpan structure.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThan(OracleTimeSpan, OracleTimeSpan)

Compares two instances of OracleTimeSpan to determine whether the first is greater than the second.

System_CAPS_puboperatorSystem_CAPS_staticGreaterThanOrEqual(OracleTimeSpan, OracleTimeSpan)

Compares two instances of OracleTimeSpan to determine whether the first is greater than or equal to the second.

System_CAPS_puboperatorSystem_CAPS_staticInequality(OracleTimeSpan, OracleTimeSpan)

Performs a logical comparison of two instances of OracleTimeSpan to determine whether they are equal.

System_CAPS_puboperatorSystem_CAPS_staticLessThan(OracleTimeSpan, OracleTimeSpan)

Compares two instances of OracleTimeSpan to determine whether the first is less than the second.

System_CAPS_puboperatorSystem_CAPS_staticLessThanOrEqual(OracleTimeSpan, OracleTimeSpan)

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.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft