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



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

Parameters

value
The TdDate operand.

Return Value

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

A false will be returned if the value operand is TdDate.Null.

A period and TdDate value meet if the value is not included in the period but is one time granule less than the beginning bound or the same as the ending bound.

The following are examples:

Result Meets
true

Period: (2007-11-01, 2007-11-15)

Date: 2007-11-15

true

Period: (2008-01-01, 2008-02-01)

Date: 2007-12-31

false

Period: (2008-01-01, 2008-02-01)

Date:2008-01-01

false

Period: (2008-03-10, 2008-03-31)

Date: 2008-04-01

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members
Overload List