/**
  * @param Date|string|int $value
  */
 public function __construct($value)
 {
     if ($value !== null && !$value instanceof Date) {
         $value = new Date($value);
     }
     parent::__construct($value, ValueType::DATETIME);
 }
 /**
  * @return ValueType
  */
 public function getValueType()
 {
     return $this->value->getType();
 }