Class InstantTemporalUnit

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

public final class InstantTemporalUnit
extends BugChecker
implements BugChecker.MethodInvocationTreeMatcher
Bans calls to Instant APIs where the TemporalUnit is not one of: NANOS, MICROS, MILLIS, SECONDS, MINUTES, HOURS, HALF_DAYS, or DAYS.
See Also:
Serialized Form