public final class Availability extends Object implements Comparable<Availability>
Constructor and Description |
---|
Availability(LocalDateTime startDate,
LocalDateTime endDate,
Number units)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Availability o) |
LocalDateTimeRange |
getRange()
Retrieves the date range of the availability period.
|
Number |
getUnits()
Retrieves the units for the availability period.
|
String |
toString() |
public Availability(LocalDateTime startDate, LocalDateTime endDate, Number units)
startDate
- start dateendDate
- end dateunits
- units for the periodpublic LocalDateTimeRange getRange()
public Number getUnits()
public int compareTo(Availability o)
compareTo
in interface Comparable<Availability>
Copyright © 2000–2024 Packwood Software. All rights reserved.