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



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

Parameters

beginBound
The starting time of the period.
endBound
The ending time of the period.
scale
The scale of the period.
Exceptions
ExceptionDescription
Either the begin or end date is null.
Ending bound is less than the beginning bound, or the specified scale is not between 0 - 6.
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodTimestampWithTimeZone Structure
TdPeriodTimestampWithTimeZone Members
Overload List