Send feedback on this topic.
Teradata.Client.Provider
TdPeriodTime Constructor(TdTime,TdTime)



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

The TdPeriodTime.Scale will be set to the maximum scale between the beginBound and endBound parameters.

Requirements

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

See Also

Reference

TdPeriodTime Structure
TdPeriodTime Members
Overload List
TdTime Structure