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



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

Parameters

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

A period and TdTimestampWithTimeZone 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.

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

The following are examples:

Result Meets
true

Period: (2007-11-01 10:10:10-03:00, 2007-11-15 12:32:01-03:00)

Timestamp: 2007-11-15 12:32:01-03:00

true

Period: (2008-01-01 00:00:00-04:00, 2008-02-01 03:00:01-04:00)

Timestamp: 2007-12-31 23:00:59-04:59

true

Period: (2008-01-01 01:10:11-10:00, 2008-02-01 21:32:51-10:00)

Timestamp: 2008-01-01 06:10:10-05:0

0
false

Period: (2008-03-10 23:01:22+03:00, 2008-03-31 04:22:14+03:00)

Timestamp: 2008-03-31 04:20:00+04:00

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