Revenue and Taxation Code § 18151
CHAPTER 14. General Rules for Determining Capital Gains and Losses
Subchapter P of Chapter 1 of Subtitle A of the Internal Revenue Code, relating to capital gains and losses, shall apply, except as otherwise provided.