Whenever an alleged parole violator is detained in a county detention facility pursuant to a valid exercise of the powers of the Department of Corrections and Rehabilitation as specified in Sections 1753, 1755, and 1767.3 and when such detention is initiated by the Department of Corrections and Rehabilitation and is related solely to a violation of the conditions of parole and is not related to a new criminal charge, the county shall be reimbursed for the costs of such detention by the Department of the Department of Corrections and Rehabilitation. Such reimbursement shall be expended for maintenance, upkeep, and improvement of juvenile hall and jail conditions, facilities, and services. Before the county is reimbursed by the department, the total amount of all charges against that county authorized by law for services rendered by the department shall be first deducted from the gross amount of the reimbursement authorized by this section. Such net reimbursement shall be calculated and paid monthly by the department. The department shall withhold all or part of such net reimbursement to a county whose juvenile hall or jail facility or facilities do not conform to minimum standards for local detention facilities as authorized by Section 6030 of the Penal Code or Section 210 of this code.
"Costs of such detention," as used in this section, shall include the same cost factors as are utilized by the Department of Corrections and Rehabilitation in determining the cost of prisoner care in state correctional facilities.
No city, county, or other jurisdiction may file, and the state may not reimburse, a claim pursuant to this section that is presented to the Department of Corrections and Rehabilitation or to any other agency or department of the state more than six months after the close of the month in which the costs were incurred.
Ca. Welf. and Inst. Code § 1776