DateTime LessThan
rascal-0.40.17
Synopsis
Less than operator on datetime values.
Syntax
Exp₁ < Exp₂
Types
//
Exp₁ | Exp₂ | Exp₁ < Exp₂ |
---|---|---|
datetime | datetime | bool |
Description
Yields true
if the datetime
value of Exp₁ is earlier in time than the datetime
value
of Exp₂, and false
otherwise.
Examples
rascal>$2010-07-14$ < $2010-07-15$;
bool: true
rascal>$2011-07-15$ < $2010-07-14$;
bool: false