OracleIntervalYM Members

OracleIntervalYM members are listed in the following tables:

OracleIntervalYM Constructors

OracleIntervalYM constructors are listed in Table 14-75

Table 75 OracleIntervalYM Constructors

Constructor Description
OracleIntervalYM Constructors Instantiates a new instance of OracleIntervalYM structure (Overloaded)

OracleIntervalYM Static Fields

The OracleIntervalYM static fields are listed in Table 14-76.

Table 76 OracleIntervalYM Static Fields

Field Description
MaxValue Represents the maximum value for an OracleIntervalYM structure
MinValue Represents the minimum value for an OracleIntervalYM structure
Null Represents a null value that can be assigned to an OracleIntervalYM instance
Zero Represents a zero value for an OracleIntervalYM structure

OracleIntervalYM Static Methods

The OracleIntervalYM static methods are listed in Table 14-77.

Table 77 OracleIntervalYM Static Methods

Methods Description
Equals Determines whether or not two OracleIntervalYM values are equal (Overloaded)
GreaterThan Determines whether or not one OracleIntervalYM value is greater than another
GreaterThanOrEqual Determines whether or not one OracleIntervalYM value is greater than or equal to another
LessThan Determines whether or not one OracleIntervalYM value is less than another
LessThanOrEqual Determines whether or not one OracleIntervalYM value is less than or equal to another
NotEquals Determines whether two OracleIntervalYM values are not equal
Parse Returns an OracleIntervalYM structure and sets its value for time interval using a string
SetPrecision Returns a new instance of an OracleIntervalYM with the specified year precision.

OracleIntervalYM Static Operators

The OracleIntervalYM static operators are listed in Table 14-78.

Table 78 OracleIntervalYM Static Operators

Operator Description
operator + Adds two OracleIntervalYM values
operator == Determines whether or not two OracleIntervalYM values are equal
operator > Determines whether or not one OracleIntervalYM value is greater than another
operator >= Determines whether or not one OracleIntervalYM value is greater than or equal to another
operator != Determines whether two OracleIntervalYM values are not equal
operator < Determines whether or not one OracleIntervalYM value is less than another
operator <= Determines whether or not one OracleIntervalYM value is less than or equal to another
operator - Subtracts one OracleIntervalYM value from another
operator - Negates an OracleIntervalYM structure
operator * Multiplies an OracleIntervalYM value by a number
operator / Divides an OracleIntervalYM value by a number

OracleIntervalYM Type Conversions

The OracleIntervalYM conversions are listed in Table 14-79.

Table 79 OracleIntervalYM Type Conversions

Operator Description
explicit operator long Converts an OracleIntervalYM structure to a number
explicit operator OracleIntervalYM Converts a string to an OracleIntervalYM structure
implicit operator OracleIntervalYM Converts the number of months to an OracleIntervalYM structure

OracleIntervalYM Properties

The OracleIntervalYM properties are listed in Table 14-80.

Table 80 OracleIntervalYM Properties

Properties Description
BinData Returns an array of bytes that represents the Oracle INTERVAL YEAR TO MONTH in an Oracle internal format
IsNull Indicates whether or not the current instance has a null value
Months Gets the months component of an OracleIntervalYM
TotalYears Returns the total number, in years, that represents the period of time in the current OracleIntervalYM structure
Value Specifies the total number of months that is stored in the OracleIntervalYM structure
Years Gets the years component of an OracleIntervalYM

OracleIntervalYM Methods

The OracleIntervalYM methods are listed in Table 14-81.

Table 81 OracleIntervalYM Methods

Methods Description
CompareTo Compares the current OracleIntervalYM instance to the supplied object, and returns an integer that represents their relative values
Equals Determines whether or not the specified object has the same time interval as the current instance (Overloaded)
GetHashCode Returns a hash code for the OracleIntervalYM instance
GetType Inherited from System.Object
ToString Converts the current OracleIntervalYM structure to a string

See Also: