PeriodTimeMath
When adding or subtracting from a Period, Duration is incompatible.

Severity
ERROR

The problem

Period.(plus|minus)(TemporalAmount) will always throw a DateTimeException when passed a Duration.

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("PeriodTimeMath") to the enclosing element.