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



Teradata.Client.Provider Namespace > TdTimeWithTimeZone Structure > TdTimeWithTimeZone Constructor : TdTimeWithTimeZone Constructor(TimeSpan,TimeSpan)
A TimeSpan structure that represents the time. This must be specfied in 24 hour time.
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 utcOffset As TimeSpan _
)
'Usage
 
Dim value As TimeSpan
Dim utcOffset As TimeSpan
 
Dim instance As New TdTimeWithTimeZone(value, utcOffset)
public TdTimeWithTimeZone( 
   TimeSpan value,
   TimeSpan utcOffset
)
public:
TdTimeWithTimeZone( 
   TimeSpan value,
   TimeSpan utcOffset
)

Parameters

value
A TimeSpan structure that represents the time. This must be specfied in 24 hour time.
utcOffset
The UTC offset of the time. Valid value range from "-12:59" to "13:00".
Exceptions
ExceptionDescription
The UTC offset is not within the valid range.
The minutes and seconds of the UTC Offset must be 0.
The TimeSpan is out of range.
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