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



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

Parameters

value
The TdPeriodTime 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 TdPeriodTime.Null.

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

In the following examples consider the Left operand to be this instance, and the Right as 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

TdPeriodTime Structure
TdPeriodTime Members
Overload List