Looks like the time Chris Brown has been spending behind bars won't be going to waste: The R&B singer admitted violating probation and was sentenced Friday to a year in jail. 

His silver lining? That would be tons of credit for time served. 

Brown, who's been on probation since 2009 after pleading guilty to assaulting then-girlfriend Rihanna, admitted he'd committed a crime in Washington, D.C., last October, L.A. Now reported. He's facing an assault charge in the nation's capital.

With his time spent in rehab and the time he's been jailed while awaiting trial in the East Coast assault case, Breezy is looking at 234 days down out of the 365 the judge gave him. A day in jail actually counts as two days, according to L.A. County's overcrowded-jail logic, reported TMZ, which noted that the Sheriff's Department is reportedly cutting lose those with one-year sentences after 240 days. 

So Brown could get early release within days, attorney Mark Geragos said.

If the judge had opted for a sentence longer than one year (up to four was possible), it would've meant state prison instead of county lockup, L.A. Now said. 

Once he's a free man again, the singer will reportedly be placed back on probation, where he must see a shrink twice a week, finish his remaining community service, take prescribed medication and stay off marijuana, even the medical kind. Brown has bipolar disorder, court documents have stated. 

Still pending is his assault trial in Washington, D.C. That was delayed pending completion of the appeals process by his bodyguard Chris Hollosy, who was found guilty of an assault charge stemming from the same incident. Brown went cross-country twice in arduous journeys managed by the U.S. Marshals Service, and prior to admitting to the probation violation was looking at life behind bars until his case went to trial

Hollosy's sentencing is scheduled for June 25. If convicted of misdemeanor assault in D.C., Brown, like Hollosy, faces a maximum sentence of six months in jail and a $1,000 fine.