anyone still getting cramps?

I'm 30 weeks, and all day today I have had period like cramps. They don't come and go like contractions, it's just a constant dull ache. I had the stomach flu (both ends) two days ago and still had some diarrhea yesterday. Should I assume it's from that?