In any case in which a person is confined to a city or county jail for a definite period of time for contempt pursuant to an action or proceeding other than a criminal action or proceeding, all of the provisions of law authorizing, requiring, or otherwise relating to, the performance of labor or work by persons sentenced to such facilities for like periods of time under a judgment of imprisonment, or a fine and imprisonment until the fine is paid or as a condition of probation after suspension of imposition of a sentence or suspension of execution of sentence, in a criminal action or proceeding, shall apply.

Nothing in this section shall be construed to authorize the confinement of any prisoner contrary to the provisions of Section 4001.

Terms Used In California Penal Code 4017.5

  • county: includes "city and county". See California Penal Code 7
  • person: includes a corporation as well as a natural person. See California Penal Code 7
  • Probation: A sentencing alternative to imprisonment in which the court releases convicted defendants under supervision as long as certain conditions are observed.

(Added by Stats. 1976, Ch. 286.)