public interface TimeRange
| Modifier and Type | Interface and Description |
|---|---|
static class |
TimeRange.DynamicTimeRange
A dynamic
TimeRange. |
static class |
TimeRange.StaticTimeRange
A static
TimeRange. |
| Modifier and Type | Method and Description |
|---|---|
long[] |
getCurrentBoundsMs(long[] out)
Returns the start and end times (in milliseconds) of the TimeRange in the provided array,
or creates a new one.
|
long[] |
getCurrentBoundsUs(long[] out)
Returns the start and end times (in microseconds) of the TimeRange in the provided array,
or creates a new one.
|
boolean |
isStatic()
Whether the range is static, meaning repeated calls to
getCurrentBoundsMs(long[])
or getCurrentBoundsUs(long[]) will return identical results. |
boolean isStatic()
getCurrentBoundsMs(long[])
or getCurrentBoundsUs(long[]) will return identical results.long[] getCurrentBoundsMs(long[] out)
out - An array to store the start and end times; can be null.long[] getCurrentBoundsUs(long[] out)
out - An array to store the start and end times; can be null.