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

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

TdPeriodTimeWithTimeZone Structure
TdPeriodTimeWithTimeZone Members
Overload List