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



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

Parameters

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

A period and TdTimestamp 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: (2007-11-01 10:10:10, 2007-11-15 12:32:01)

Time: 2007-11-15 12:32:01

true

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

Time: 2007-12-31 23:59:59

true

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

Time: 2008-01-01 01:10:10

false

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

Time: 2008-03-31 04:23:21

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

TdPeriodTimestamp Structure
TdPeriodTimestamp Members
Overload List