Name | Description | |
---|---|---|
TdPeriodDate Constructor | A period is created from two TdDate structures that represent the lower and upper bounds of the duration. |
The following tables list the members exposed by TdPeriodDate.
Name | Description | |
---|---|---|
TdPeriodDate Constructor | A period is created from two TdDate structures that represent the lower and upper bounds of the duration. |
Name | Description | |
---|---|---|
MaxValue | The maximum value of a period which is "(9999-12-30, 9999-12-31)". | |
MinValue | The minimum value of a period which is "(0001-01-01, 0001-01-02)". | |
Null | Gets a Null TdPeriodDate instance. |
Name | Description | |
---|---|---|
Begin | Gets the beginning bound of the period. | |
End | Gets the ending bound of the period. | |
IsNull | Gets boolean value that indicates whether this TdPeriodDate instance is TdPeriodDate.Null. | |
Last | Gets the last time element of the period. | |
Value | Gets the ANSI string representation of the this instance of the period. |
Name | Description | |
---|---|---|
Add | Overloaded. | |
Compare | Compares two instances of TdPeriodDate structures and returns a value indicating whether left is greater than, less than or equal to right. | |
CompareTo | Overloaded. Compares this instance to the supplied object and returns whether it is less than, equal or greater than the supplied object. | |
Contains | Indicates whether the TdDate value is contained in this instance of TdPeriodDate. | |
Equals | Overloaded. Returns a Boolean indicating whether two instances of TdPeriodDate are equal. | |
GetHashCode | Returns the hash code for this instance. | |
GetType | Gets the System.Type of the current instance. (Inherited from object) | |
GetXmlSchema | Specifies the XML Qualified name for TdPeriodDate XML type mapping. | |
GreaterThan | Compares two TdPeriodDate structures to determine whether the left operand is greater than the right operand. | |
GreaterThanOrEqual | Compares two TdPeriodDate structures to determine whether the left operand is greater than or equal to the right operand. | |
Intersect | The intersection between the left and right operands is calculated. | |
IntervalDayToSecond | Calculates the number of days in the period and returns the result in a TdIntervalDayToSecond structure. | |
IntervalTimeSpan | Calculates the number of days in the period and returns the result in a System.TimeSpan structure. | |
IntervalYearToMonth | Calculates the number of days in the period and returns the result in a TdIntervalYearToMonth structure. | |
LeftDiff | 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. | |
LessThan | Compares two TdPeriodDate structures to determine whether the left operand is less than the right operand. | |
LessThanOrEqual | Compares two TdPeriodDate structures to determine whether the left operand is less than or equal to the right operand. | |
Meets | Overloaded. Determines whether a period or TdPeriodDate meets this instance of TdPeriodDate. | |
Normalize | 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. | |
NotEquals | Compares two TdPeriodDate structures to determine whether the left operand is not equal to the right operand. | |
Parse | The specified string is converted into an equivalent TdPeriodDate. | |
Precedes | Overloaded. Determines whether a period or TdDate precedes this instance of TdDate. | |
RightDiff | 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. | |
Subtract | Overloaded. | |
Succeeds | Overloaded. Determines whether a period or TdDate succeeds this instance of TdDate. | |
ToString | Overloaded. Returns the string representation of a period. | |
TryParse | The specified string is converted into an equivalent TdPeriodDate. |
Addition | Overloaded. Adds a Timespan to a period. |
Equality | Compares two TdPeriodDate structures to determine whether the left operand is equal to the right operand. |
Explicit Type Conversion | Overloaded. |
Greater Than | Compares two TdPeriodDate structures to determine whether the left is greater than the right operand. |
Greater Than or Equal | Compares two TdPeriodDate structures to determine whether the left is greater than or equal to the right operand. |
Inequality | Compares two TdPeriodDate structures to determine whether the left operand is not equal to the right operand. |
Less Than | Compares two TdPeriodDate structures to determine whether the left is less than the right operand. |
Less Than or Equal | Compares two TdPeriodDate structures to determine whether the left is less than or equal to the right operand. |
Subtraction | Overloaded. |
TdPeriodDate Structure
Teradata.Client.Provider Namespace
TdDate Structure
TdDate Structure
Provider Specific Types: Period Type Overview