USMS vs USA Swimming

Just a general question:

Can USMS times be submitted for USA Swimming and vice versa?

Someone was trying to tell me that this was true, but I had been under the impression that it wasn't possible, that USMS times only counted for USMS and USA Swimming times only counted for USA Swimming.

Thank you for any input!