1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| Quintiq file version 2.0
| #parent: #root
| Method StartClosed () as LibCal_Calendar
| {
| TextBody:
| [*
| // Close the calendar by creating a CalendarPeriod with factor 0.0, if it does not exist yet.
| if( not exists( this, Periods, period, true,
| period.From().IsMinInfinity() and
| period.Factor() = 0.0 and
| period.GroupName() = "" ) )
| {
| this.AddPeriod( DateTime::MinDateTime(), 0.0, "" );
| }
|
| // Make the API fluent.
| return this;
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|