public function range(TemporalField $field) { if ($this->effectiveDate != null && $field->isDateBased()) { return $this->effectiveDate->range($field); } return $this->temporal->range($field); }
public function rangeRefinedBy(TemporalAccessor $temporal) { return $temporal->range($this); }