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



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

Parameters

value
The TdTimeWithTimeZone 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 TdTimeWithTimeZone.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+01:00, 02:04:15+01:00)

Time: 02:04:15+01:00

false

Period: (09:05:31+04:00, 10:06:05+04:00)

Time: 11:10:01+04:00

false

Period: (12:12:15-02:00, 15:12:31-02:00)

Time: 13:12:20-02:00

false

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

Time: 00:02:01-07:00

true

Period: (10:09:05+02:00, 14:09:15+02:00)

Time: 08:01:17+02:00

true

Period: (20:09:05+08:00, 21:09:15+08:00)

Time: 20:09:04+08: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

TdPeriodTimeWithTimeZone Structure
TdPeriodTimeWithTimeZone Members
Overload List