1
2
3
4
5
6
7
8
9
10
11
12
13
14
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method SetEnd ( 
 |    DateTime endTime_i 
 |  ) as LibCal_Event 
 |  { 
 |    Description: 'Set the end of the event.' 
 |    TextBody: 
 |    [* 
 |      // Make the API fluent. 
 |      timezone := this.Calendar().GetTimeZone(); 
 |      return this.SetEnd( endTime_i.Date( timezone ), endTime_i.TimeOfDay( timezone ) ); 
 |    *] 
 |  } 
 |  
  |