/** * Parses the Month configuration. * * @param \SimpleXMLElement $xml */ public function __construct(\SimpleXMLElement $xml) { parent::__construct($xml); $this->form = 'long'; $this->stripPeriods = new StripPeriods($xml); $this->modify($xml); }
/** * Parses the Day configuration. * * @param \SimpleXMLElement $day */ public function __construct(\SimpleXMLElement $day) { parent::__construct($day); $this->form = 'numeric'; $this->modify($day); }