A court case for a couple who is not married but has children is called a paternity, or UPA case. UPA stands for the Uniform Parentage Act, which is the law that governs these kinds of cases. Paternity cases are generally the way you formally and legally establish the parents of a child. Generally the father is the one thought of in these cases, but in a UPA case, both mother and father are determined. Either parent may bring a paternity case, and upon the establishment of parentage, both rights and responsibilities attach.
In a paternity case, both responsibilities and privileges of parenting are granted/ordered. Once it is determined that you are a parent of a child, you are required to support that child financially by working. You are also entitled to parenting time (visitation) with the child, subject to the best interests of that child (for example, you are entitled to parenting time unless the time would endanger the child’s welfare, such as if you are ingesting illegal substances at the time). This responsibility lasts, legally in California, until that child is 18 and graduated from high school, to a maximum age of 19.
The court’s jurisdiction over a child lasts until age 18 for custody and visitation purposes. At age 18, the court can no longer order a child to visit with either parent because that child is now an adult and not subject to the jurisdiction of the court. For purposes of child support, however, the obligation lasts until your child graduates from high school, up to the age of 19. So if your child turns 18 in January, then graduates in June of the same year, then you pay support until June. If your child graduates in June and turns 18 in October a couple months later, then the support can last into college. If you have a child who turns 19 in April before graduating in June, then support will last until your child’s birthday in April. Perhaps that was a longer explanation than necessary, but at least now you get it (hopefully!).
A UPA case cannot handle, however, issues around your relationship that do not have to do with the child. For example, a UPA case can resolve issues surrounding pregnancy and birth expenses, but cannot resolve issues, for example, around the return of property or disposing of joint assets (such as a car or house). The court will only get into that with married couples. If you have to go to court on issues of property division with someone to whom you are not married, then you have to go to small claims court. Obviously, too, there is no spousal support in a UPA case.