A day adjustment option can be set in the service-level agreement or passed directly to a function. The option determines the time of day that a function returns for a deadline or reminder.
If an option is work-schedule compliant, the function always returns a time of day within the specified work schedule. Otherwise, if an option is not work-schedule compliant, the returned time of day might not be within the specified work schedule.
Option | Work-schedule compliant | Description |
---|---|---|
End_Of_Day |
No |
Sets the time of day to the end of day (11:59 PM). |
End_Of_Business |
Yes |
Sets the time of day to the end of the last work interval. The function generates a runtime exception if a work schedule is not specified for the function. |
FixedTime |
No |
Sets the time of day to some fixed number of minutes since midnight. This number is one of the service-level agreement entry settings. |
Same_Time |
No |
Sets the time of day to the start time of day that is passed to the function. |
Adjusted_Time |
Yes |
Sets the time of day in accordance with the specified start time and work schedule for
the function:
The function generates a runtime exception if a work schedule is not specified for the function. |