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



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

Parameters

value
The TdTime 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 this value is TdTime.Null.

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

The following are examples:

Result Meets
true

Period: (12:21:41, 14:21:22)

Time: 14:21:22

true

Period: (00:00:00, 01:00:10)

Time: 23:59:59

false

Period: (20:21:43, 23:00:00)

Time: 23:00:01

false

Period: (11:43:00, 11:50:32)

Time: 11:45:20

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