AlertWindow¶
-
public class
AlertWindow
¶ Contains details about alerts timings. Used to create events and to compute timings.
Constructors¶
AlertWindow¶
-
public
AlertWindow
(DateTime windowStart, DateTime windowEnd, DateTime enrolledOn, Time preferredAlertTime, Alert alert)¶ Creates an AlertWindow with the windowStart attribute set to
windowStart
, the windowEnd attribute set towindowEnd
, the enrolledOn attribute set toenrolledOn
, the preferredAlertTime attribute set topreferredAlertTime
and the alert attribute set toalert
. Also computes all alert timings.Parameters: - windowStart – the start date and time of the window
- windowEnd – the end date and time of the window
- enrolledOn – the enrollment date and time
- preferredAlertTime – the preferred alert time
- alert – the alert