The behaviour must be viewed objectively as expected to offend, humiliate or be upsetting to that person.
Sexual harassment is a form of sex discrimination.
However, sex discrimination is treated separately under another law from discrimination generally. Sexual harassment occurs when a person is subjected to an unwelcome sexual advance in the workplace. The sexual advance must be objectively viewed as behaviour that would offend, humiliate or intimidate the person harassed. Wolf-whistling Unwelcome practical jokes Offensive or inappropriate comments, questions, jokes, innuendo, threats, demands, and insults are also included. Speaking in a language not understood by all listeners may also constitute discrimination or harassment.