Class JavaPeriodGetDays

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

public final class JavaPeriodGetDays extends BugChecker implements BugChecker.MethodInvocationTreeMatcher
This checker warns about calls to period.getDays() without a corresponding "nearby" call to period.getYears(), period.getMonths(), or period.getTotalMonths().
Author:
glorioso@google.com (Nick Glorioso)
See Also: