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



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

Parameters

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

The periods are equal.

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

Meets = false

The period (bL, eL) is contained within (bR, eR).

            |-------|----|-------|
            bL      eL   bR      eR
            
Meets = false
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodTimeWithTimeZone Structure
TdPeriodTimeWithTimeZone Members
Overload List