Added in API level 34
TimeInstantRangeFilter
class TimeInstantRangeFilter : TimeRangeFilter
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 | |
---|---|
Builder class for |
Public methods
equals
Added in API level 34
fun equals(other: Any?): Boolean
Parameters | |
---|---|
obj |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true if this object is the same as the obj argument; false otherwise. |
getEndTime
Added in API level 34
fun getEndTime(): Instant?
Return | |
---|---|
Instant? |
end time instant of this filter This value may be null . |
getStartTime
Added in API level 34
fun getStartTime(): Instant?
Return | |
---|---|
Instant? |
start time instant of this filter This value may be null . |
isBounded
Added in API level 34
fun isBounded(): Boolean
Return | |
---|---|
Boolean |
a boolean value indicating if the filter is bound or not. This value cannot be null . |