Record Class InstantInterval

java.lang.Object
java.lang.Record
com.thanlinardos.spring_enterprise_library.time.model.InstantInterval
Record Components:
start - the start date of the InstantInterval (nullable).
end - the end date of the InstantInterval (nullable).
All Implemented Interfaces:
Comparable<InstantInterval>

public record InstantInterval(@Nullable Instant start, @Nullable Instant end) extends Record implements Comparable<InstantInterval>
Represents a time InstantInterval with a start and end date. Provides utility methods for creating, manipulating, and analyzing Intervals.