This documentation is archived and is not being maintained.

OracleTimeSpan Members

OracleTimeSpan overview

Public Constructors

public constructorOracleTimeSpan Constructor Overloaded. Initializes a new OracleTimeSpan structure.

Public Fields

public fieldstatic (Shared in Visual Basic)MaxValue Represents the maximum valid date value for an OracleTimeSpan structure.
public fieldstatic (Shared in Visual Basic)MinValue Represents the minimum valid date value for an OracleTimeSpan structure.
public fieldstatic (Shared in Visual Basic)Null Represents a null value that can be assigned to the Value property of an instance of the OracleTimeSpan structure.

Public Properties

public propertyDays Gets the number of whole days represented by this instance.
public propertyHours Gets the number of whole hours represented by this instance.
public propertyIsNull Gets a value indicating whether the Value property of the OracleTimeSpan structure is null.
public propertyMilliseconds Gets the number of whole milliseconds represented by this instance.
public propertyMinutes Gets the number of whole minutes represented by this instance.
public propertySeconds Gets the number of whole seconds represented by this instance.
public propertyValue Gets the value of the OracleTimeSpan structure.

Public Methods

public methodCompareTo Compares this OracleTimeSpan structure to the supplied object and returns an indication of their relative values.
public methodEquals Overloaded. Overridden. Compares the supplied object parameter to the Value property of the OracleTimeSpan object.
public methodGetHashCode Overridden. Gets the hash code for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)GreaterThan Compares two instances of OracleTimeSpan to determine if the first is greater than the second.
public methodstatic (Shared in Visual Basic)GreaterThanOrEqual Compares two instances of OracleTimeSpan to determine if the first is greater than or equal to the second.
public methodstatic (Shared in Visual Basic)LessThan Compares two instances of OracleTimeSpan to determine if the first is less than the second.
public methodstatic (Shared in Visual Basic)LessThanOrEqual Compares two instances of OracleTimeSpan to determine if the first is less than or equal to the second.
public methodstatic (Shared in Visual Basic)NotEquals Performs a logical comparison of two instances of OracleTimeSpan to determine if they are not equal.
public methodstatic (Shared in Visual Basic)Parse Converts the specified String representation of a date and time to its OracleTimeSpan equivalent.
public methodToString Overridden. Converts this OracleTimeSpan structure to a String.

Public Operators and Type Conversions

public operatorstatic (Shared in Visual Basic)Equality Operator Performs a logical comparison of two OracleTimeSpan structures to determine if they are equal.
public operatorstatic (Shared in Visual Basic)Greater Than Operator Compares two instances of OracleTimeSpan to determine if the first is greater than the second.
public operatorstatic (Shared in Visual Basic)Greater Than Or Equal Operator Compares two instances of OracleTimeSpan to determine if the first is greater than or equal to the second.
public operatorstatic (Shared in Visual Basic)Inequality Operator Performs a logical comparison of two instances of OracleTimeSpan to determine if they are equal.
public operatorstatic (Shared in Visual Basic)Less Than Operator Compares two instances of OracleTimeSpan to determine if the first is less than the second.
public operatorstatic (Shared in Visual Basic)Less Than Or Equal Operator Compares two instances of OracleTimeSpan to determine if the first is less than or equal to the second.
public operatorstatic (Shared in Visual Basic)OracleTimeSpan to TimeSpan Conversion Converts an OracleTimeSpan structure to a System.TimeSpan structure.
public operatorstatic (Shared in Visual Basic)String to OracleTimeSpan Conversion Converts a string to an OracleTimeSpan structure.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

OracleTimeSpan Structure | System.Data.OracleClient Namespace

Show: