T - the type of the start and end instants, restricted to LocalTime, LocalDate, or LocalDateTimepublic final class TimeSpan<T extends java.lang.Comparable>
extends java.lang.Object
LocalTime, LocalDate, or LocalDateTime.| Constructor and Description | 
|---|
| TimeSpan(T start,
        T end)Constructs a  TimeSpanwith the specified start and end instants. | 
| Modifier and Type | Method and Description | 
|---|---|
| T | getEnd()Returns the end instant of the time span. | 
| T | getStart()Returns the start instant of the time span. | 
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.