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

Teradata.Client.Provider Namespace : TdPeriodDate Structure

The following tables list the members exposed by TdPeriodDate.

Public Constructors
 NameDescription
Public Constructor A period is created from two TdDate structures that represent the lower and upper bounds of the duration.  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic) The maximum value of a period which is "(9999-12-30, 9999-12-31)".  
Public Fieldstatic (Shared in Visual Basic) The minimum value of a period which is "(0001-01-01, 0001-01-02)".  
Public Fieldstatic (Shared in Visual Basic) Gets a Null TdPeriodDate instance.  
Top
Public Properties
 NameDescription
Public Property Gets the beginning bound of the period.  
Public Property Gets the ending bound of the period.  
Public PropertyGets boolean value that indicates whether this TdPeriodDate instance is TdPeriodDate.Null.  
Public Property Gets the last time element of the period.  
Public Property Gets the ANSI string representation of the this instance of the period.  
Top
Public Methods
 NameDescription
Public MethodOverloaded.   
Public Methodstatic (Shared in Visual Basic)Compares two instances of TdPeriodDate structures and returns a value indicating whether left is greater than, less than or equal to right.  
Public MethodOverloaded.  Compares this instance to the supplied object and returns whether it is less than, equal or greater than the supplied object.  
Public MethodIndicates whether the TdDate value is contained in this instance of TdPeriodDate.  
Public MethodOverloaded. Returns a Boolean indicating whether two instances of TdPeriodDate 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)Specifies the XML Qualified name for TdPeriodDate XML type mapping.  
Public Methodstatic (Shared in Visual Basic)Compares two TdPeriodDate structures to determine whether the left operand is greater than the right operand.  
Public Methodstatic (Shared in Visual Basic)Compares two TdPeriodDate structures to determine whether the left operand is greater than or equal to the right operand.  
Public Methodstatic (Shared in Visual Basic)The intersection between the left and right operands is calculated.  
Public MethodCalculates the number of days in the period and returns the result in a TdIntervalDayToSecond structure.  
Public Method Calculates the number of days in the period and returns the result in a System.TimeSpan structure.  
Public MethodCalculates the number of days in the period and returns the result in a TdIntervalYearToMonth structure.  
Public Methodstatic (Shared in Visual Basic)The period whose beginning and ending bounds are defined as the beginning bound of the left operand and the beginning bound of the right operand when the operands overlap.  
Public Methodstatic (Shared in Visual Basic)Compares two TdPeriodDate structures to determine whether the left operand is less than the right operand.  
Public Methodstatic (Shared in Visual Basic)Compares two TdPeriodDate structures to determine whether the left operand is less than or equal to the right operand.  
Public MethodOverloaded.  Determines whether a period or TdPeriodDate meets this instance of TdPeriodDate.  
Public Methodstatic (Shared in Visual Basic) A TdPeriodDate that contains a period that encompasses both periods of the left and right operands. The beginning bound is defined as the minimum of left and right beginning bounds, and the ending bound is defined as the maximum of the left and right ending bounds. The operands must either meet or overlap.  
Public Methodstatic (Shared in Visual Basic)Compares two TdPeriodDate structures to determine whether the left operand is not equal to the right operand.  
Public Methodstatic (Shared in Visual Basic) The specified string is converted into an equivalent TdPeriodDate.  
Public MethodOverloaded.  Determines whether a period or TdDate precedes this instance of TdDate.  
Public Methodstatic (Shared in Visual Basic)The period that contains the portion from the ending bound of the left operand to the ending bound of the right when the operands overlap.  
Public MethodOverloaded.   
Public MethodOverloaded.  Determines whether a period or TdDate succeeds this instance of TdDate.  
Public MethodOverloaded.  Returns the string representation of a period.  
Public Methodstatic (Shared in Visual Basic) The specified string is converted into an equivalent TdPeriodDate.  
Top
Public Operators
Overloaded.  Adds a Timespan to a period.
Compares two TdPeriodDate structures to determine whether the left operand is equal to the right operand.
Overloaded.  
Compares two TdPeriodDate structures to determine whether the left is greater than the right operand.
Compares two TdPeriodDate structures to determine whether the left is greater than or equal to the right operand.
Compares two TdPeriodDate structures to determine whether the left operand is not equal to the right operand.
Compares two TdPeriodDate structures to determine whether the left is less than the right operand.
Compares two TdPeriodDate structures to determine whether the left is less than or equal to the right operand.
Overloaded.  
Top
See Also

Reference

TdPeriodDate Structure
Teradata.Client.Provider Namespace
TdDate Structure
TdDate Structure
Provider Specific Types: Period Type Overview