Exemple #1
0
 /**
  * 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);
 }
Exemple #2
0
 /**
  * Parses the Day configuration.
  *
  * @param \SimpleXMLElement $day
  */
 public function __construct(\SimpleXMLElement $day)
 {
     parent::__construct($day);
     $this->form = 'numeric';
     $this->modify($day);
 }