Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method SetMonthlyPattern ( 
 | 
  Date date_i 
 | 
) id:Method_LibCal_dlgEvent_SetMonthlyPattern 
 | 
{ 
 | 
  #keys: '[131094.0.1641354112]' 
 | 
  Body: 
 | 
  [* 
 | 
    weekOfMonth := ""; 
 | 
    dayOfWeek   := ""  
 | 
    this.GetWeekOfMonthAndDayOfWeek( date_i, weekOfMonth, dayOfWeek );  // output-arguments 
 | 
     
 | 
    // Set week of month. 
 | 
    ssMonthlyPatternWeekOfMonth.Strings( Translations::Pattern_WeekOfMonth() ); 
 | 
    ssMonthlyPatternWeekOfMonth.BoundValue( weekOfMonth ); 
 | 
     
 | 
    // Set day of week. 
 | 
    ssMonthlyPatternDayOfWeek.Strings( Translations::Pattern_Days() ); 
 | 
    ssMonthlyPatternDayOfWeek.BoundValue( dayOfWeek ); 
 | 
  *] 
 | 
} 
 |