Send feedback on this topic.
Teradata.Client.Provider
Succeeds(TdDate) Method



Teradata.Client.Provider Namespace > TdPeriodDate Structure > Succeeds Method : Succeeds(TdDate) Method
The date value.
Indicates that this instance the date value.
Syntax
'Declaration
 
Public Overloads Function Succeeds( _
   ByVal value As TdDate _
) As Boolean
'Usage
 
Dim instance As TdPeriodDate
Dim value As TdDate
Dim value As Boolean
 
value = instance.Succeeds(value)
public bool Succeeds( 
   TdDate value
)
public:
bool Succeeds( 
   TdDate value
) 

Parameters

value
The date value.

Return Value

A true is returned when this instance succeeds the value, otherwise a false is returned.
Remarks

A false will be returned if the value is TdDate.Null.

This instance will succeed the date value if the beginning bound of this instance is greater than the date value.

The following are examples.

Result Precedes
false

Period: (2006-04-01, 2006-04-15)

Date: 2006-04-15

false

Period: (2006-05-31, 2006-06-05)

Date: 2006-10-01

false

Period: (2008-12-15, 2008-12-31)

Date: 2008-12-20

false

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

Date: 2008-02-01

true

Period: (2008-09-05, 2008-09-15)

Date: 2008-01-17

true

Period: (2008-09-05, 2008-09-15)

Date: 2008-09-04

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members
Overload List