Can ibuprofen aid in relieving menstrual cramps effectively and quickly?

Can ibuprofen aid in relieving menstrual cramps effectively and quickly?