Send feedback on this topic.
Teradata.Client.Provider
TdPeriodTimestampWithTimeZone Constructor(TdTimestampWithTimeZone,TdTimestampWithTimeZone)



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

TdPeriodTimestampWithTimeZone Structure
TdPeriodTimestampWithTimeZone Members
Overload List