1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| Quintiq file version 2.0
| #parent: #root
| Method DeleteTimeIntervals (
| Boolean onlySoftDeleted_i
| )
| {
| TextBody:
| [*
| timeIntervals := null( LibCal_ExplicitTimeIntervals, owning );
|
| if( onlySoftDeleted_i )
| {
| timeIntervals := selectset( this, ExplicitTimeInterval, timeInterval, true, timeInterval.IsSoftDeleted() );
| }
| else
| {
| timeIntervals := this.ExplicitTimeInterval( relget );
| }
|
| LibCal_ExplicitTimeInterval::Delete( timeIntervals, false ); // Don't delete the participation itself.
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|