Ibuprofen to stop period?

I'm thinking about taking high doses of ibuprofen (800 mg every 4 hours) to stop my period this week. Is this safe? Has anyone done this before? If so, how long before the ibuprofen starts working?