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



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

Parameters

value
The TdTimeWithTimeZone value.

Return Value

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

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

This instance will precede the value if the ending bound of this instance is less than or equal to the value.

The following are examples.

Result Precedes
true

Period: (00:04:01-01:00, 03:04:15-01:00)

Time: 03:04:15-01:00

true

Period: (10:05:31+03:00, 12:06:05+03:00)

Time: 10:10:01+03:00

false

Period: (11:12:15+05:00, 20:12:31+05:00)

Time: 15:12:20+05:00

false

Period: (22:02:01+08:00, 23:03:01+08:00)

Time: 22:02:01+08:00

false

Period: (17:09:05-01:00, 21:09:15-01:00)

Time: 17:01:17-01:00

Requirements

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

See Also

Reference

TdPeriodTimeWithTimeZone Structure
TdPeriodTimeWithTimeZone Members
Overload List