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



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

Parameters

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

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

The following are examples.

Result Succeeds
false

Period: (01:04:01, 02:04:15)

Time: 02:04:15

false

Period: (09:05:31, 10:06:05)

Time: 11:10:01

false

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

Time: 13:12:20

false

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

Time: 00:02:01

true

Period: (10:09:05, 14:09:15)

Time: 08:01:17

true

Period: (20:09:05, 21:09:15)

Time: 20:09:04

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodTime Structure
TdPeriodTime Members
Overload List