/**
  * @inheritdoc
  */
 public function isSupported(TemporalField $field)
 {
     if ($field instanceof ChronoField) {
         return $field->isDateBased();
     }
     return $field != null && $field->isSupportedBy($this);
 }
 public function getLong(TemporalField $field)
 {
     if ($this->effectiveDate != null && $field->isDateBased()) {
         return $this->effectiveDate->getLong($field);
     }
     return $this->temporal->getLong($field);
 }