Fix behavior of handling BC era dates.

BC era year is (astronomical year + 1) and starts from 1 BC.