Send feedback on this topic.
Teradata.Client.Provider
TdPeriodTimestamp Constructor(TdTimestamp,TdTimestamp)



Teradata.Client.Provider Namespace > TdPeriodTimestamp Structure > TdPeriodTimestamp Constructor : TdPeriodTimestamp Constructor(TdTimestamp,TdTimestamp)
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 TdTimestamp, _
   ByVal endBound As TdTimestamp _
)
'Usage
 
Dim beginBound As TdTimestamp
Dim endBound As TdTimestamp
 
Dim instance As New TdPeriodTimestamp(beginBound, endBound)
public TdPeriodTimestamp( 
   TdTimestamp beginBound,
   TdTimestamp endBound
)
public:
TdPeriodTimestamp( 
   TdTimestamp beginBound,
   TdTimestamp 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 TdPeriodTimestamp.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

TdPeriodTimestamp Structure
TdPeriodTimestamp Members
Overload List