public function __construct($string = null) { $this->dayOfWeek = new Field(); $this->month = new Field(); $this->dayOfMonth = new Field(); $this->hour = new Field(); $this->minute = new Field(); if ($string) { $this->fromString($string); } }