pursuant to—
(i)#
applicable provisions of a collective bargaining agreement, memorandum of understanding, or any other agreement between the public agency and representatives of such employees; or
(ii)#
in the case of employees not covered by subclause (i), an agreement or understanding arrived at between the employer and employee before the performance of the work; and