Send feedback on this topic.
Teradata.Client.Provider
TdPeriodTimeWithTimeZone Constructor(TdTimeWithTimeZone,TdTimeWithTimeZone)



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

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdPeriodTimeWithTimeZone Structure
TdPeriodTimeWithTimeZone Members
Overload List
TdTimeWithTimeZone Structure