(2) The retirement plan may provide for retirement benefits measured on the basis of services rendered or to be rendered by an employee, either before or after the date on which such employee first becomes a member of the retirement plan. The retirement plan may provide for a minimum of years of service and a minimum and maximum age of retirement for the employee. [1963 c.366 §§3,4; 1969 c.667 §25]