https://www.ftb.ca.gov/individuals/filertn/nonresidents-part-year-residents.shtml
View solution in original post