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



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

Parameters

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

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

It is not required that the UTC Offset of this instance and value be the same. The UTC representation of the bounds of this instance and the value will be used to determine whether this instance succeeds the value.

The following are examples.

Result Succeeds
false (2006-04-01 10:20:11+08:00, 2006-04-15 01:21:43+08:00)
2006-04-15 01:21:43+08:00
false (2006-05-31 04:21:00+08:00, 2006-06-05 07:21:43+08:00)
2006-10-01 01:00:00+09:00
true (2008-12-15 21:23:41+00:00, 2008-12-31 11:21:45+00:00)
2008-12-20 22:21:00+00:00
true (2008-02-01 12:30:00-01:00, 2008-03-01 21:32:21-01:00)
2008-02-01 14:30:00+01:01
false (2008-09-05 13:21:54+02:00, 2008-09-15 12:40:11+02:00)
2008-09-10 00:00:00+03: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

TdPeriodTimestampWithTimeZone Structure
TdPeriodTimestampWithTimeZone Members
Overload List