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



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

Parameters

value
The TdPeriodTimestampWithTimeZone 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 operand is TdPeriodTimestampWithTimeZone.Null.

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

It is not required that the UTC Offset of the value and this instance be the same. The UTC representation of the bounds of both the value and this instance will be used to determine whether they meet.

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

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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdPeriodTimestampWithTimeZone Structure
TdPeriodTimestampWithTimeZone Members
Overload List