65        if (!is_object($a_json)) {
 
   66            $ilLog->write(__METHOD__ . 
': Cannot load from JSON. No object given.');
 
   70        $GLOBALS[
'DIC'][
'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; 
   96        if (is_numeric($a_begin) and $a_begin) {
 
  100            $this->begin = $a_begin;
 
  122        include_once 
'./Services/Calendar/classes/class.ilDateTime.php';
 
  137        if (is_numeric($a_end) and $a_end) {
 
  163        include_once 
'./Services/Calendar/classes/class.ilDateTime.php';
 
  177        $this->room = $a_room;
 
  200        $this->cycle = $a_cycle;
 
An exception for terminatinating execution or to throw for unit testing.
@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['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.