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 Option<String> |
endInstant |
protected Option<String> |
startInstant |
| Constructor and Description |
|---|
InstantRange(String startInstant,
String endInstant) |
| Modifier and Type | Method and Description |
|---|---|
static InstantRange.Builder |
builder()
Returns the builder.
|
Option<String> |
getEndInstant() |
Option<String> |
getStartInstant() |
abstract boolean |
isInRange(String instant) |
String |
toString() |
public static InstantRange.Builder builder()
public abstract boolean isInRange(String instant)
Copyright © 2024 The Apache Software Foundation. All rights reserved.