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



Teradata.Client.Provider Namespace > TdTimeWithTimeZone Structure > TdTimeWithTimeZone Constructor : TdTimeWithTimeZone Constructor(TimeSpan,Int32,TimeSpan)
A TimeSpan structure that represents the time. This must be specfied in 24 hour time.
The scale of the time. The scale can range from 0-6.
The UTC offset of the time. Valid value range from "-12:59" to "13:00".
An instance of TdTimeWithTimeZone is created from the time component specified as a TimeSpan structure.
Syntax
'Declaration
 
Public Function New( _
   ByVal value As TimeSpan, _
   ByVal scale As Integer, _
   ByVal utcOffset As TimeSpan _
)
'Usage
 
Dim value As TimeSpan
Dim scale As Integer
Dim utcOffset As TimeSpan
 
Dim instance As New TdTimeWithTimeZone(value, scale, utcOffset)
public TdTimeWithTimeZone( 
   TimeSpan value,
   int scale,
   TimeSpan utcOffset
)
public:
TdTimeWithTimeZone( 
   TimeSpan value,
   int scale,
   TimeSpan utcOffset
)

Parameters

value
A TimeSpan structure that represents the time. This must be specfied in 24 hour time.
scale
The scale of the time. The scale can range from 0-6.
utcOffset
The UTC offset of the time. Valid value range from "-12:59" to "13:00".
Exceptions
ExceptionDescription
The UTC offset or scale is not within the valid range.
The minutes and seconds of the UTC Offset must be 0.
Remarks

If the fraction component contained in the TimeSpan structure contains more digits than what has been specified in the scale, the fraction component will be truncated to match the scale.

Requirements

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

See Also

Reference

TdTimeWithTimeZone Structure
TdTimeWithTimeZone Members
Overload List