The court heard the alleged offences occurred while Mr Gardiner was a maths teacher at The Armidale School ... the complainants were in primary school or high school," Mr Boulten told the jury.