Class PeriodFrom

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

public final class PeriodFrom extends BugChecker implements BugChecker.MethodInvocationTreeMatcher
Bans calls to Period.from(temporalAmount) where temporalAmount is a Duration.
Author:
kak@google.com (Kurt Alfred Kluever)
See Also: