'Usage Dim days As Integer Dim instance As New TdIntervalDay(days)
Parameters
- days
- Number of days.
Exception | Description |
---|---|
OverflowException | The day parameter specifies a TdIntervalDay value less than TdIntervalDay.MinValue or greater than TdIntervalDay.MaxValue. |
The number of days are converted into a TdIntervalDay and evaluated against TdIntervalDay.MinValue and TdIntervalDay.MaxValue. The TdIntervalDay.Precision is then calculated from the number of digits contained within the interval day component.
For example, 99 days is first converted into a TdIntervalDay. Precision is calculated to be a value of 2 representing two significant digits in the day.
Negative constructor parameters may be supplied to represent negative durations of time.
Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2