Period

public class Period implements Serializable

Objects representing periods in time. All periods must have a start date and an end date and the start date must be before or equal to the end date.

Fields

end

private LocalDate end

The end date of the period. Mandatory and must not be before start date.

serialVersionUID

private static final long serialVersionUID

start

private LocalDate start

The start date of the period. Mandatory and must not be after end date.