Send feedback on this topic.
Teradata.Client.Provider
TdPeriodDate Constructor



Teradata.Client.Provider Namespace > TdPeriodDate Structure : TdPeriodDate Constructor
The starting time of the period.
The ending time of the period.
A period is created from two TdDate structures that represent the lower and upper bounds of the duration.
Syntax
'Declaration
 
Public Function New( _
   ByVal beginBound As TdDate, _
   ByVal endBound As TdDate _
)
'Usage
 
Dim beginBound As TdDate
Dim endBound As TdDate
 
Dim instance As New TdPeriodDate(beginBound, endBound)
public TdPeriodDate( 
   TdDate beginBound,
   TdDate endBound
)
public:
TdPeriodDate( 
   TdDate beginBound,
   TdDate endBound
)

Parameters

beginBound
The starting time of the period.
endBound
The ending time of the period.
Exceptions
ExceptionDescription
Either the begin or end date is null.
Ending bound is less than the beginning bound.
Remarks

An end bound that is TdDate.MaxValue is equivalent to the Advanced SQL Engine reserved word UNTIL_CHANGED. Refer to the SQL Data Types and Literals manual for additional information on UNTIL_CHANGED. For information on how the behavior of a period whose end bound is equivalent to UNTIL_CHANGE is affected refer to TdDate.Add.

Requirements

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

See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members