64                if(!is_object($a_json))
 
   66                        $ilLog->write(__METHOD__ . 
': Cannot load from JSON. No object given.');
 
   70                $GLOBALS[
'ilLog']->write(__METHOD__.
': '.print_r($a_json,
true));
 
   72                $this->room = $a_json->room;
 
   73                $this->begin = $a_json->begin;
 
   74                $this->end = $a_json->end;
 
   75                $this->cycle = $a_json->cycle;
 
   76                #$this->day = $a_json->day; 
   98                if(is_numeric($a_begin) and $a_begin)
 
  105                        $this->begin = $a_begin;
 
  127                include_once 
'./Services/Calendar/classes/class.ilDateTime.php';
 
  143                if(is_numeric($a_end) and $a_end)
 
  172                include_once 
'./Services/Calendar/classes/class.ilDateTime.php';
 
  186                $this->room = $a_room;
 
  209                $this->cycle = $a_cycle;
 
@classDescription Date and time handling
static _before(ilDateTime $start, ilDateTime $end, $a_compare_field='', $a_tz='')
compare two dates and check start is before end This method does not consider tz offsets.
Representation of ECS EContent Time Place.
setBegin($a_begin)
set begin
getUTBegin()
get begin as unix time
__construct()
Constructor.
setCycle($a_cycle)
set cycle
getUTEnd()
get end as unix time
loadFromJson($a_json)
load from json
Base class for ILIAS Exception handling.
$GLOBALS['PHPCAS_CLIENT']
This global variable is used by the interface class phpCAS.