Class PeriodTimeMath

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.time.PeriodTimeMath
All Implemented Interfaces:
BugChecker.MethodInvocationTreeMatcher, Suppressible, Serializable

public final class PeriodTimeMath
extends BugChecker
implements BugChecker.MethodInvocationTreeMatcher
Bans calls to Period#plus/minus(TemporalAmount) where the argument is a Duration.
See Also:
Serialized Form