[Java] Calendar is too slow