Iran says that , under its safeguards agreement with the IAEA , it need only declare a facility 180 days before nuclear material is inserted into it and that in this case it had given about a year 's notice .