absDays method

Method<Duration, int> absDays(
  1. Method<int, int> m
)

Implementation

Method<Duration, int> absDays(final Method<int, int> m) => Methods.map((diff) => m(diff.inDays).abs());