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



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

Parameters

value
The timestamp value.

Return Value

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

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

This instance will succeed the value if the beginning bound of this instance is greater than or equal to the value.

The following are examples.

Result Succeeds
false

Period: (2006-04-01 10:20:11, 2006-04-15 01:21:43)

Timestamp: 2006-04-15 01:21:43

false

Period: (2006-05-31 04:21:00, 2006-06-05 07:21:43)

Timestamp: 2006-10-01 00:00:00

false

Period: (2008-12-15 21:23:41, 2008-12-31 11:21:45)

Timestamp: 2008-12-20 23:21:00

true

Period: (2008-02-01 12:30:00, 2008-03-01 21:32:21)

Timestamp: 2008-02-01 12:30:00

true

Period: (2008-09-05 13:21:54, 2008-09-15 12:40:11)

Timestamp: 2008-01-17 00:00: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

TdPeriodTimestamp Structure
TdPeriodTimestamp Members
Overload List