Send feedback on this topic.
Teradata.Client.Provider
TdIntervalYear Structure Members
Fields  Properties  Methods 

Teradata.Client.Provider Namespace : TdIntervalYear Structure

The following tables list the members exposed by TdIntervalYear.

Public Constructors
 NameDescription
Public ConstructorOverloaded. Initializes a new instance of TdIntervalYear.  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)A constant representing the maximum number of significant digits in the TdIntervalYear.Years interval component.  
Public Fieldstatic (Shared in Visual Basic)The largest possible value for the TdIntervalYear interval type.  
Public Fieldstatic (Shared in Visual Basic)A constant representing the minimum number of significant digits in the TdIntervalYear.Years interval component.  
Public Fieldstatic (Shared in Visual Basic)The smallest possible value for the TdIntervalYear interval type.  
Public Fieldstatic (Shared in Visual Basic)Gets a Null TdIntervalYear instance.  
Public Fieldstatic (Shared in Visual Basic)Gets an TdIntervalYear instance that contains all zero elements for each interval field.  
Top
Public Properties
 NameDescription
Public PropertyIndicates whether this TdIntervalYear instance is TdIntervalYear.Null.  
Public Property The number of significant digits in the year is returned. The return value ranges from 1 to 4.  
Public Property The total number of months represented by this instance.  
Public PropertyGets the .NET data type representation of TdIntervalYear as a String.  
Public Property The number of interval years is returned. The return value ranges from -9999 to 9999.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Overloaded. Calculates the sum of two operands and returns a TdIntervalYear.  
Public Methodstatic (Shared in Visual Basic)Two TdIntervalYear intervals are compared and a value is returned that indicates left is greater than, less than or equal to right.  
Public MethodOverloaded. Compares this instance to the supplied TdIntervalYear and returns whether this instance is less than, equal or greater than the supplied TdIntervalYear.  
Public Methodstatic (Shared in Visual Basic)A TdIntervalYear is divided by an integer value.  
Public MethodOverloaded. Returns a value indicating whether two instances of TdIntervalYear are equal.  
Public Method Returns the hash code for this instance.  
Public MethodGets the System.Type of the current instance. (Inherited from object)
Public Methodstatic (Shared in Visual Basic)Gets the XML Qualified name for TdIntervalYear XML type mapping.  
Public Methodstatic (Shared in Visual Basic)Determines whether the left is greater than the right.  
Public Methodstatic (Shared in Visual Basic)This operator determines whether the left is greater than or equal to the right.  
Public Methodstatic (Shared in Visual Basic)This method determines whether the left is less than the right.  
Public Methodstatic (Shared in Visual Basic)This method determines whether the left is less than or equal to the right.  
Public Methodstatic (Shared in Visual Basic)Overloaded.   
Public Methodstatic (Shared in Visual Basic)Compares two TdIntervalYears to determine whether the left is not equal to right.  
Public Methodstatic (Shared in Visual Basic)The specified string is converted into an equivalent TdIntervalYear.  
Public Methodstatic (Shared in Visual Basic)Overloaded. The right operand is subtracted from the left operand returning a TdIntervalYear.  
Public Methodstatic (Shared in Visual Basic)Convert a TdIntervalYear implictly to an Int32 representing a year interval.  
Public MethodOverloaded.   
Public Methodstatic (Shared in Visual Basic)The specified string is converted into an equivalent TdIntervalYear.  
Top
Public Operators
Overloaded. Calculates the sum of two operands and returns a TdIntervalYear.
A TdIntervalYear is divided by an integer value.
This operator determines whether the left and the right are equal.
Overloaded.  
This operator determines whether the left is greater than the right.
This operator determines whether the left is greater than or equal to the right.
Converts a TdIntervalYear to a TdIntervalYearToMonth.
This operator determines whether the left and the right are not equal.
This operator determines whether the left is less than the right.
This operator determines whether the left is less than or equal the right.
Overloaded.  
Overloaded. The right operand is subtracted from the left operand returning a TdIntervalYear.
Top
See Also

Reference

TdIntervalYear Structure
Teradata.Client.Provider Namespace
EnableTdIntervals Property
Interval Connection String Attribute
Enabling Provider Specific Types
Provider Specific Type: Interval Type Overview