Class DurationFrom

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

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