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



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

Parameters

value
The TdTimeWithTimeZone 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 TdTimeWithTimeZone.Null.

A period and TdTimeWithTimeZone 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+08:00, 14:21:22+08:00)

Time: 14:21:22+08:00

true

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

Time: 23:59:59-00:00

false

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

Time: 23:00:01+03:00

false

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

Time: 11:45:20-01:00

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