Is there a Java class to represent a date range in a standard library?
Something like this:
import java.time.LocalDate;
public class DateRange {
private LocalDate startDate;
private LocalDate endDate;
// Getter and setters
}
When I search for this, I came across this class: com.amazonaws.services.health.model.DateTimeRange
But I'm looking for a class in a standard library.
I can write my own class of course. But I thought this kind of a standard class would exist.