For the purpose of applying the provisions of this Part, employment in the Executive or Legislative Branch of State service shall be credited as service in the Unified Court System; provided, however, that, except as otherwise provided by law, leave credits may not be transferred upon movement from such positions to positions subject to this Part except where such credits were earned and accumulated in accordance with attendance and leave regulations which are substantially equivalent to the provisions of this Part and there is a written agreement between the President of the Civil Service Commission and the Chief Administrator of the Courts governing the transfer of leave credits upon such movements. Other public employment may be credited as service in the Unified Court System for purposes of determining transferability of leave credits, provided such employment was subject to attendance and leave regulations substantially equivalent to the provisions of this Part, and provided there is a written agreement between the Chief Administrator and the public agency wherein such employment occurred governing the crediting of such employment and the transfer of leave credits upon movement of employees to and from such agency and positions subject to this Part.
N.Y. Comp. Codes R. & Regs. Tit. 22 § 24.12