Version

SynchronizingDate Property

Returns or sets the DateTime structure which defines the starting point for cycles generated by this instance.
Syntax
'Declaration
 
Public Property SynchronizingDate As Date
public DateTime SynchronizingDate {get; set;}
Remarks

In the case where the Interval property is set to a value greater than one, it might be necessary to synchronize the beginning of the cycles generated by this instance with a particular day, day of the week, or month. For example, if a DateInterval is intended to represent a two-week pay period, the developer might need to define the beginning of the pay cycle as the first monday of the current year. The SynchronizingDate property makes it possible to define the synchronization point for the cycle in this manner. The Interval property in this case would be set to 2, the IntervalUnits property would be set to 'Weeks', and the SynchronizingDate property would be set to the first Monday of the current year.

Not all of the components of the SynchronizingDate structure are necessarily used; which ones are used depends on the value of the IntervalUnits property. For example, when IntervalUnits is set to 'Monthly', only the Month component of the date is used; when set to 'Weekly', only the DayOfWeek component is used.

When no value has been explicitly assigned to the SynchronizingDate property, the value of the associated UltraCalendarInfo's MinDate property is used to define the synchronizing date for the cycle.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also