haorenhui
2023-10-30 6d6cc10d9e8e242661da7fd655dec155a09d676c
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_RecurrencePatternMonthly::GetDateOfFirstRecurrence( timezone, startOfPeriod_i, this.Event().StartTimeOfDay(), this.Event().Duration(), this.Event().EndTimeOfDay(),
                                                                      earliestStart_i, this.RecurrenceInterval(),
                                                                      this.IsDay(), this.Day(), this.PatternWeekOfMonth(), this.PatternDayOfWeek() );
  *]
}