ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilADTDateDefinition.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
23  // comparison
24 
25  public function isComparableTo(ilADT $a_adt): bool
26  {
27  // has to be date-based
28  return ($a_adt instanceof ilADTDate || $a_adt instanceof ilADTDateTime);
29  }
30 }
ADT base class.
Definition: class.ilADT.php:25
ADT definition base class.