An instance of
TdIntervalHourToSecond is created from time components specified as integers while precision and scale components are specified as bytes.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Byte, _
ByVal As Byte _
)
'Usage
Dim hours As Integer
Dim minutes As Integer
Dim seconds As Integer
Dim microseconds As Integer
Dim precision As Byte
Dim scale As Byte
Dim instance As New TdIntervalHourToSecond(hours, minutes, seconds, microseconds, precision, scale)
public TdIntervalHourToSecond(
int ,
int ,
int ,
int ,
byte ,
byte
)
public:
TdIntervalHourToSecond(
int ,
int ,
int ,
int ,
byte ,
byte
)
Parameters
- hours
- Number of hours.
- minutes
- Number of minutes.
- seconds
- Number of seconds.
- microseconds
- The fractional number of seconds.
- precision
- Number of significant digits of the hour.
- scale
- The number of decimal places for the second.
Exceptions
Requirements
Product | Versions | Platforms |
.NET | 6, 7 | Windows, Linux, MacOS |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |
See Also