public function __construct() { parent::__construct('TIME_TO_SEC', 'SEC_TO_TIME', 'TIME', [], null, ParameterType::Integer); }
public function __construct($Length) { parent::__construct('HEX', 'UNHEX', 'BINARY', [$Length], null, ParameterType::String); }
public function __construct($DataType) { parent::__construct('UNIX_TIMESTAMP', 'FROM_UNIXTIME', $DataType, [], null, ParameterType::Integer); }
public function GetPersistExpression(CoreExpression $Expression) { return $this->DataType->GetPersistExpression(parent::GetPersistExpression($Expression)); }