R.I. Gen. Laws § 36-9-20. Credit for service as a teacher, municipal employee, or legislator.