public function __construct(TimeUnit $timeUnit = null) { $this->timeUnit = $timeUnit ?: new TimeUnit(); }