Tax Year Prior to 2020: Married filing separate, married July 31, live in CA: does full year's-worth of income count for community property, or just the parts earned while married?

For student loan/IBR reasons, we're filing separately this year. However, we got married July 31, 2016. Does the CA community property tax apply to the full year of income or just the parts earned while we were married?