| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method IsInPeriod ( |  |   DateTime start, |  |   DateTime end |  | ) const declarative remote as Boolean |  | { |  |   Description: 'Check whether  this start and end is inside this period or not' |  |   TextBody: |  |   [* |  |     cond := ( this.Start() <= start and start < this.End() ) |  |             or ( this.Start() < end and end < this.End() ) |  |             or ( start <= this.Start() and this.End() <= end ) |  |      |  |     return cond; |  |   *] |  | } | 
 |