Buying Treasury Bills on secondary market. How is this treated in CA?

I bought treasury bills on the secondary market for a discount. I know for federal taxes this is interest income. On the state taxes in CA, is the entire discount say $2,000 tax exempt or do I have to only take the % of this discount based on the days I owned the bill divided by the total days of this bill from issue date to maturity?