1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod GetInfo ( 
 |    Date startDate_i, 
 |    Number nrOfOccurrences_i, 
 |    Date endDate_i 
 |  ) const declarative remote as String 
 |  { 
 |    Description: 
 |    [* 
 |      Get information about the RecurrencePeriod in textual format. 
 |      Is implemented as a static method so it can also be called from the UI when there is no instance available yet. 
 |    *] 
 |    TextBody: 
 |    [* 
 |      value := "effective from  " + startDate_i.Format( "dd D-MM-Y" ) + ", recurring " + [String]nrOfOccurrences_i + "x until  " + endDate_i.Format( "dd D-MM-Y" ); 
 |       
 |      return value; 
 |    *] 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |