The July and August salary of any year shall be deemed to have been earned in the previous ten month school year.