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