Example #1
0
 public function copyFrom(Duration $duration)
 {
     $this->setValue($duration->getValue());
     $this->setDotted($duration->isDotted());
     $this->setDoubleDotted($duration->isDoubleDotted());
     $this->getDivision()->copyFrom($duration->getDivision());
 }