SchedulerStorageBase.ReminderDstBehaviorType Property

Gets or sets the reminder's behavior if the reminder alert falls within the interval that actually doesn't exist because of the Daylight Saving Time shift.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

[DefaultValue(DstBehaviorType.AlertAfterDstShift)]
public DstBehaviorType ReminderDstBehaviorType { get; set; }
<DefaultValue(DstBehaviorType.AlertAfterDstShift)>
Public Property ReminderDstBehaviorType As DstBehaviorType

Property Value

Type Default Description
DstBehaviorType

AlertAfterDstShift

A DstBehaviorType enumeration value that specifies at what time the alert is triggered.

Remarks

This property enables you to correct the reminder's behavior for a series of recurring appointments if an occurrence in a series falls in a DST shift (in the United States, it is the interval between 2:00:00 and 2:59:59 local time on the Daylight Saving Time start date, the time interval that actually doesn't exist). By default, the property is set to DstBehaviorType.AlertAfterDstShift and if the alert time falls in the DST shift, an alert is invoked at the end of the DST shift, i.e. at 3 AM in the United States.

To invoke the reminder alert at the specified time before the actual start of an appointment, set the ReminderDstBehaviorType property to the DstBehaviorType.Update value. The alert time will be updated as required.

To dismiss the reminder when it falls in the DST shift, use the DstBehaviorType.Dismiss property value.

Consider two scenarios with different settings for the ReminderDstBehaviorType property.

Scenario 1:

Appointment.Start = 2:05, ReminderBase.TimeBeforeStart = 6 min.

Value Behavior
DstBehaviorType.Dismiss the reminder will be dismissed
DstBehaviorType.AlertAfterDstShift the alert will be triggered at 3:00 AM.
DstBehaviorType.Update the alert will be triggered at 1:59 AM.

Scenario 2:

Appointment.Start = 2:30, ReminderBase.TimeBeforeStart = 6 min.

Value Behavior
DstBehaviorType.Dismiss the reminder will be dismissed
DstBehaviorType.AlertAfterDstShift the alert will be triggered at 3:24 AM.
DstBehaviorType.Update the alert will be triggered at 3:24 AM.
See Also