This is a bug and is fixed.

http://stackoverflow.com/questions/9625306/joda-time-period-to-total-millis