xiaoding721
2024-08-21 37d5e499ff0d2aa0d4d3d7a4c6ec65ec2ffd1d70
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;
  *]
}