An instance of TdTimeWithTimeZone is created from the time components specified as
integers.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As TimeSpan _
)
'Usage
Dim hour As Integer
Dim minute As Integer
Dim second As Integer
Dim microsecond As Integer
Dim scale As Integer
Dim utcOffset As TimeSpan
Dim instance As New TdTimeWithTimeZone(hour, minute, second, microsecond, scale, utcOffset)
public TdTimeWithTimeZone(
int ,
int ,
int ,
int ,
int ,
TimeSpan
)
public:
TdTimeWithTimeZone(
int ,
int ,
int ,
int ,
int ,
TimeSpan
)
Parameters
- hour
- The hour of the specified time. Valid values are 0-23.
- minute
- The minutes of the specified time. Valid value are 0-59.
- second
- The seconds of the specified time. Valid values are 0-59.
- microsecond
- The number of microseconds of the specified time.
- scale
- The scale of the time. Valid values are 0-6.
- utcOffset
- The UTC offset of the time. Valid value range from "-12:59" to "13:00".
Exceptions
Requirements
Product | Versions | Platforms |
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |
See Also