public abstract class InstantRange extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
InstantRange.Builder
Builder for
InstantRange. |
static class |
InstantRange.RangeType
Represents a range type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
endInstant |
protected String |
startInstant |
| Constructor and Description |
|---|
InstantRange(String startInstant,
String endInstant) |
| Modifier and Type | Method and Description |
|---|---|
static InstantRange.Builder |
builder()
Returns the builder.
|
String |
getEndInstant() |
String |
getStartInstant() |
abstract boolean |
isInRange(String instant) |
protected final String startInstant
protected final String endInstant
public static InstantRange.Builder builder()
public String getStartInstant()
public String getEndInstant()
public abstract boolean isInRange(String instant)
Copyright © 2024 The Apache Software Foundation. All rights reserved.