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



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

Parameters

value
The TdPeriodTimeWithTimeZone 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 TdPeriodTimeWithTimeZone.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 the Left operand to be this instance, 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

TdPeriodTimeWithTimeZone Structure
TdPeriodTimeWithTimeZone Members
Overload List