ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilADTDateTimeDefinition.php
Go to the documentation of this file.
1 <?php
2 
4 {
5  // comparison
6 
7  public function isComparableTo(ilADT $a_adt)
8  {
9  // has to be date-based
10  return ($a_adt instanceof ilADTDateTime || $a_adt instanceof ilADTDate);
11  }
12 }
13 
14 ?>
ADT base class.
Definition: class.ilADT.php:11
ADT definition base class.