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



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

Parameters

value
The TdPeriodDate 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 TdPeriodDate.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 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

TdPeriodDate Structure
TdPeriodDate Members
Overload List