OracleMonthSpan OracleMonthSpan OracleMonthSpan OracleMonthSpan Struct

Definition

Represents a time interval in months and corresponds to the Oracle 9i INTERVAL YEAR TO MONTH data type.

public value class OracleMonthSpan : IComparable, System::Data::SqlTypes::INullable
public struct OracleMonthSpan : IComparable, System.Data.SqlTypes.INullable
type OracleMonthSpan = struct
    interface INullable
Public Structure OracleMonthSpan
Implements IComparable, INullable
Inheritance
OracleMonthSpanOracleMonthSpanOracleMonthSpanOracleMonthSpan
Implements

Remarks

The Oracle INTERVAL YEAR TO MONTH data type (Oracle 9i or later) contains an interval of time in years and months, and has a fixed size of 5 bytes.

To obtain an OracleMonthSpan object, call the GetOracleMonthSpan method.

Constructors

OracleMonthSpan(OracleMonthSpan) OracleMonthSpan(OracleMonthSpan) OracleMonthSpan(OracleMonthSpan) OracleMonthSpan(OracleMonthSpan)

Initializes a new OracleMonthSpan structure from an existing one.

OracleMonthSpan(Int32) OracleMonthSpan(Int32) OracleMonthSpan(Int32) OracleMonthSpan(Int32)

Initializes a new OracleMonthSpan structure to the specified number of months.

OracleMonthSpan(Int32, Int32) OracleMonthSpan(Int32, Int32) OracleMonthSpan(Int32, Int32) OracleMonthSpan(Int32, Int32)

Initializes a new OracleMonthSpan structure to a specified number years and months.

Fields

MaxValue MaxValue MaxValue MaxValue

Represents the maximum valid date value for an OracleMonthSpan structure.

MinValue MinValue MinValue MinValue

Represents the minimum valid date value for an OracleMonthSpan structure.

Null Null Null Null

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

Properties

IsNull IsNull IsNull IsNull

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

Value Value Value Value

Gets the value of the OracleMonthSpan structure.

Methods

CompareTo(Object) CompareTo(Object) CompareTo(Object) CompareTo(Object)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the supplied object parameter to the Value property of the OracleMonthSpan object.

Equals(OracleMonthSpan, OracleMonthSpan) Equals(OracleMonthSpan, OracleMonthSpan) Equals(OracleMonthSpan, OracleMonthSpan) Equals(OracleMonthSpan, OracleMonthSpan)

Performs a logical comparison of two OracleMonthSpan structures to determine if they are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Gets the hash code for this instance.

GreaterThan(OracleMonthSpan, OracleMonthSpan) GreaterThan(OracleMonthSpan, OracleMonthSpan) GreaterThan(OracleMonthSpan, OracleMonthSpan) GreaterThan(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is greater than the second.

GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan) GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan) GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan) GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is greater than or equal to the second.

LessThan(OracleMonthSpan, OracleMonthSpan) LessThan(OracleMonthSpan, OracleMonthSpan) LessThan(OracleMonthSpan, OracleMonthSpan) LessThan(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is less than the second.

LessThanOrEqual(OracleMonthSpan, OracleMonthSpan) LessThanOrEqual(OracleMonthSpan, OracleMonthSpan) LessThanOrEqual(OracleMonthSpan, OracleMonthSpan) LessThanOrEqual(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is less than or equal to the second.

NotEquals(OracleMonthSpan, OracleMonthSpan) NotEquals(OracleMonthSpan, OracleMonthSpan) NotEquals(OracleMonthSpan, OracleMonthSpan) NotEquals(OracleMonthSpan, OracleMonthSpan)

Performs a logical comparison of two instances of OracleMonthSpan to determine if they are not equal.

Parse(String) Parse(String) Parse(String) Parse(String)

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

ToString() ToString() ToString() ToString()

Converts this OracleMonthSpan structure to a String.

Operators

Equality(OracleMonthSpan, OracleMonthSpan) Equality(OracleMonthSpan, OracleMonthSpan) Equality(OracleMonthSpan, OracleMonthSpan) Equality(OracleMonthSpan, OracleMonthSpan)

Performs a logical comparison of two OracleMonthSpan structures to determine if they are equal.

Explicit(OracleMonthSpan to Int32) Explicit(OracleMonthSpan to Int32) Explicit(OracleMonthSpan to Int32) Explicit(OracleMonthSpan to Int32)

Converts an OracleMonthSpan structure to an Int32.

Explicit(String to OracleMonthSpan) Explicit(String to OracleMonthSpan) Explicit(String to OracleMonthSpan) Explicit(String to OracleMonthSpan)

Converts a string to an OracleMonthSpan structure.

GreaterThan(OracleMonthSpan, OracleMonthSpan) GreaterThan(OracleMonthSpan, OracleMonthSpan) GreaterThan(OracleMonthSpan, OracleMonthSpan) GreaterThan(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is greater than the second.

GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan) GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan) GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan) GreaterThanOrEqual(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is greater than or equal to the second.

Inequality(OracleMonthSpan, OracleMonthSpan) Inequality(OracleMonthSpan, OracleMonthSpan) Inequality(OracleMonthSpan, OracleMonthSpan) Inequality(OracleMonthSpan, OracleMonthSpan)

Performs a logical comparison of two instances of OracleMonthSpan to determine if they are equal.

LessThan(OracleMonthSpan, OracleMonthSpan) LessThan(OracleMonthSpan, OracleMonthSpan) LessThan(OracleMonthSpan, OracleMonthSpan) LessThan(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is less than the second.

LessThanOrEqual(OracleMonthSpan, OracleMonthSpan) LessThanOrEqual(OracleMonthSpan, OracleMonthSpan) LessThanOrEqual(OracleMonthSpan, OracleMonthSpan) LessThanOrEqual(OracleMonthSpan, OracleMonthSpan)

Compares two instances of OracleMonthSpan to determine if the first is less than or equal to the second.

Applies to