An instance of
TdIntervalSecond 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 Byte, _
ByVal As Byte _
)
'Usage
Dim seconds As Integer
Dim microseconds As Integer
Dim precision As Byte
Dim scale As Byte
Dim instance As New TdIntervalSecond(seconds, microseconds, precision, scale)
public TdIntervalSecond(
int ,
int ,
byte ,
byte
)
public:
TdIntervalSecond(
int ,
int ,
byte ,
byte
)
Parameters
- seconds
- Number of seconds.
- microseconds
- The fractional number of seconds.
- precision
- Number of significant digits of the second.
- 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