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



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

Parameters

value
The TdPeriodTimestamp operand.

Return Value

A true is returned if this instance meets the value, otherwise a false is returned.
Remarks

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

Two periods meet if the beginning bound of one period equals the ending bound of the other.

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

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

Meets = true

The ending bound of the right operand equals the beginning bound of the left operand.

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

Meets = true

The ending bound of the left operand equals the beginning bound of the right operand.

              |---------|
            bL bR     eL eR
            
Meets = false
              |--------|--------|
            bL bR      eL       eR
            
Meets = false
            |-------|----|---------|
            bL      eL   bR        eR
            
Meets = false
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