By definition, your legal exposure is up to one year in the local county jail. Not all misdemeanors are created equal. Some misdemeanors have exposure up to 6 months in county jail and some are less than that, for instance a violation of Penal Code section 415 (disturbing the peace – sometimes an alternative resolution without jail in domestic violence cases) is capped off at 90 days in county jail.
You have to look at your legal exposure in county jail as a maximum. For example, you can be sentenced up to the maximum 6 months in jail for a first time Driving Under the Influence of alcohol (DUI). In most jurisdictions, you will not have to do actual county jail for a DUI. You will be eligible for alternatives to county jail such as the Sheriff’s Work Program, in which you will be picking up trash on the side of the road. In most circumstance we are successful at negotiating a resolution in your case in a creative way that is mitigated and least restrictive on you.