ambiata/ivory — pull request #379 by charleso (2014-10-29 08:18:09+00:00)
Title: Add custom minus days/months/years to DateTimeUtils

There may well be a better/faster/easier way to do this.

Perf numbers:

```
0% Scenario{vm=java, trial=0, benchmark=_minusDays} 335096.61 ns; σ=6940.12 ns @ 10 trials
17% Scenario{vm=java, trial=0, benchmark=_minusDays_joda} 1693540.82 ns; σ=11120.23 ns @ 3 trials
33% Scenario{vm=java, trial=0, benchmark=_minusMonths} 155424.95 ns; σ=1228.78 ns @ 3 trials
50% Scenario{vm=java, trial=0, benchmark=_minusMonths_joda} 2156137.54 ns; σ=20104.19 ns @ 3 trials
67% Scenario{vm=java, trial=0, benchmark=_minusYears} 98665.52 ns; σ=977.72 ns @ 5 trials
83% Scenario{vm=java, trial=0, benchmark=_minusYears_joda} 2138264.01 ns; σ=19813.64 ns @ 4 trials

benchmark us linear runtime
_minusDays 335.1 ====
_minusDays_joda 1693.5 =======================
_minusMonths 155.4 ==
_minusMonths_joda 2156.1 ==============================
_minusYears 98.7 =
_minusYears_joda 2138.3 =============================
```