TimeInstantRangeFilter


public final class TimeInstantRangeFilter
extends Object implements TimeRangeFilter

java.lang.Object
   ↳ android.health.connect.TimeInstantRangeFilter


Specification of time range for read and delete requests. Internally represents a SQLLite argument that specifies start and end time to put in as SQLLite parameters. The filter must be bound at least at one of the ends, i.e., either the start or end time must be set, or else an IllegalArgumentException is thrown.

Summary

Nested classes

class TimeInstantRangeFilter.Builder

Builder class for TimeInstantRangeFilter 

Public methods

boolean equals(Object o)

Indicates whether some other object is "equal to" this one.

Instant getEndTime()
Instant getStartTime()
int hashCode()

Returns a hash code value for the object.

boolean isBounded()

Inherited methods