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;
    }