Trump confirms he said government shutdown could last months or years