/**
  * @see DirectoryCalculator::calculateDirectory
  */
 public function calculateDirectory(Identifiable $obj)
 {
     if (!$obj instanceof Dateable) {
         throw new LogicException('Expected a dateable');
     }
     $dt = $obj->getDateCreated();
     $path = $dt->format($this->getFormat());
     return $path;
 }