getTimeoutToNextTime(hourOfDay, minute, second)
Returns the timeout (in model time units) that is needed to reach the nearest date that will have the specified time. You can use the resulting value for various purposes, for example, scheduling events.
Name |
Type of value |
Description |
hourOfDay
|
int
|
The hour component of the time value, in the 24-hour format.
|
minute
|
int
|
The minute component of the time value.
|
second
|
int
|
The second component of the time value.
|
Type |
Description |
double
|
The timeout value in model time units.
|
-
How can we improve this article?
-