Quintiq file version 2.0
#parent: #root
Method InitializeRecurrence () id:Method_LibCal_dlgEvent_InitializeRecurrence
{
  #keys: '[131092.0.2141055802]'
  Body:
  [*
    // Initialize the recurrence pattern and period.
    // Assumption: dhEvent.Data() and dhLeadingParticipation.Data() have already been set.
    sEvent         := dhEvent.Data();
    sParticipation := dhLeadingParticipation.Data();
    
    sPattern := sEvent.RecurrencePattern();
    sPeriod  := sParticipation.RecurrencePeriod();
    
    this.InitializeRecurrencePattern( sPattern, sParticipation.StartDate() );
    this.InitializeRecurrencePeriod(  sPeriod );
  *]
}
