| Quintiq file version 2.0 | 
| #parent: #root | 
| StaticMethod Delete ( | 
|   LibCal_ExplicitTimeIntervals timeIntervals_i | 
| ) | 
| { | 
|   TextBody: | 
|   [* | 
|     traverse( timeIntervals_i, Elements, eti ){ | 
|       leadingeti := eti.LeadingETI(); | 
|       if( leadingeti.SubscribingETI( relsize ) = 1 ){ | 
|         part     := leadingeti.Participation(); | 
|         if( part.ExplicitTimeInterval( relsize ) = 1 ){ | 
|           part.Event().Delete(); | 
|         } | 
|         if( not isnull( leadingeti ) ){ | 
|           leadingeti.Delete(); | 
|         } | 
|       } | 
|       if( not isnull( leadingeti ) ){ | 
|         eti.Delete(); | 
|       } | 
|      | 
|     } | 
|   *] | 
| } |