Let's (for simplicity) assume the war is not a factor. It's also safe to assume there is a necessary majority to pass all the changes to adapt Ukraine laws to be part of EU. The major time sink would be coming up with all the compromises around economical interests of various market participants within EU and in Ukraine itself.