An instance of
TdIntervalDayToSecond is created from a day and 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 Integer, _
ByVal As Byte, _
ByVal As Byte _
)
'Usage
Dim days As Integer
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 TdIntervalDayToSecond(days, hours, minutes, seconds, microseconds, precision, scale)
public TdIntervalDayToSecond(
int ,
int ,
int ,
int ,
int ,
byte ,
byte
)
public:
TdIntervalDayToSecond(
int ,
int ,
int ,
int ,
int ,
byte ,
byte
)
Parameters
- days
- Number of days.
- 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 day.
- scale
- The number of decimal places for the second.
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