Send feedback on this topic.
Teradata.Client.Provider
Succeeds(TdPeriodTimestamp) Method



Teradata.Client.Provider Namespace > TdPeriodTimestamp Structure > Succeeds Method : Succeeds(TdPeriodTimestamp) Method
The TdPeriodTimestamp operand.
Indicates whether this instance succeeds the period value.
Syntax
'Declaration
 
Public Overloads Function Succeeds( _
   ByVal value As TdPeriodTimestamp _
) As Boolean
'Usage
 
Dim instance As TdPeriodTimestamp
Dim value As TdPeriodTimestamp
Dim value As Boolean
 
value = instance.Succeeds(value)
public bool Succeeds( 
   TdPeriodTimestamp value
)
public:
bool Succeeds( 
   TdPeriodTimestamp value
) 

Parameters

value
The TdPeriodTimestamp operand.

Return Value

A true is returned when this instance succeeds the value, otherwise a false is returned.
Remarks

A false will be returned if the value is TdPeriodTimestamp.Null.

This instance will succeed the value if the beginning bound of this instance is greater than or equal to the ending bound of the value.

In the following examples consider this instance to be the Left operand, and the Right operand as the value. The Left and Right operands are defined as (bL, eL) and (bR, eR), respectively.

Example Comments
             |-----------|-----------|
             bL        eL bR         eR
             

Succeeds = false

The left operand appears before the right operand.

             |---------|------|----------|
             bL        eL     bR         eR
             

Succeeds = false

The left operand appears before the right operand.

             |---------|-------|----------|
             bL        bR      eL         eR
             

Succeeds = false

There is an intersection between the operands; therfore, the left does not succeed the right.

             |-------|--------|
             bR    eR bL      eL
             
Succeeds = true
             |-------|---|-----|
             bR      eR  bL    eL
             
Succeeds = true
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdPeriodTimestamp Structure
TdPeriodTimestamp Members
Overload List