There is no error in bitcoinj. That field is meant to be in seconds, as a quick inspection of the usage sites would have shown you.
As you have discovered, your system clock is wrong and that's why blocks were being rejected. Bitcoin requires a correct system clock and always has.