code: function fromXML($xmlElement) {
          if (isset($xmlElement->minutes)) $this->minutes = $xmlElement->minutes;
          if (isset($xmlElement->hours)) $this->hours = $xmlElement->hours;
          if (isset($xmlElement->state)) $this->state = $xmlElement->state;
          if (isset($xmlElement->date)) $this->date = $xmlElement->date;
      }
docs: Initialization of the schedule from a simple xml element.
  
  @param SimpleXMLElement $xmlElement
  The xml element that is used to parse the schedule from.