How do I calculate my student loan interest deduction for california?

I am not a resident of California but earned income there. The program is asking me to enter the amount of the California portion of my student loan interest. What does that mean? I paid on my loan while in CA. Is it wanting me to divide the number of days in CA and apply to the loan interest?