1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  MethodOverride GetDateOfFirstRecurrence ( 
 |    Date startOfPeriod_i, 
 |    Date earliestStart_i 
 |  ) declarative remote as Date 
 |  { 
 |    TextBody: 
 |    [* 
 |      timezone := this.Event().Calendar().GetTimeZone(); 
 |       
 |      return LibCal_RecurrencePatternYearly::GetDateOfFirstRecurrence( timezone, startOfPeriod_i, this.Event().StartTimeOfDay(), this.Event().EndTimeOfDay(), this.Event().Duration(), 
 |                                                                       earliestStart_i, this.RecurrenceInterval(), this.Month(), 
 |                                                                       this.IsDay(), this.Day(), this.PatternWeekOfMonth(), this.PatternDayOfWeek() ); 
 |    *] 
 |  } 
 |  
  |