Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method InitializeCalendarRegistry 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    if( isnull( this.CalendarRegistry() ) ) 
 | 
    { 
 | 
      this.CalendarRegistry( relnew ); 
 | 
      this.CalendarRegistry().SetAlwaysAvailableAsDefault(); 
 | 
      this.CalendarRegistry().CommonCalendar().SetUpdateInterval( Duration::Days( 1 ) ); 
 | 
    } 
 | 
     
 | 
    if( isnull( this.CalendarImportExport() ) ) 
 | 
    { 
 | 
        this.CalendarImportExport( relnew ); 
 | 
    } 
 | 
  *] 
 | 
} 
 |