You can judge a reaction without knowing the x amount of hours beforehand.Kids do some immensely annoying / dangerous / scary things at times but any parent worth their salt can reign it in. Actual swearing like that at a 6 year old is insane.
But irrespective of the stress levels induced by said child, that's a pretty extreme reaction with unforgivable language.