Uses of Class
info.ejava.assignments.api.houserenters.dto.rentals.TimePeriod
Packages that use TimePeriod
Package
Description
-
Uses of TimePeriod in info.ejava_student.starter.assignment2.api.houserentals.client
Methods in info.ejava_student.starter.assignment2.api.houserentals.client with parameters of type TimePeriodConstructors in info.ejava_student.starter.assignment2.api.houserentals.client with parameters of type TimePeriodModifierConstructorDescriptionHouseRentalDTO
(HouseDTO house, RenterDTO renter, TimePeriod timePeriod) -
Uses of TimePeriod in info.ejava.assignments.api.houserenters.dto.rentals
Fields in info.ejava.assignments.api.houserenters.dto.rentals declared as TimePeriodMethods in info.ejava.assignments.api.houserenters.dto.rentals that return TimePeriodModifier and TypeMethodDescriptionstatic TimePeriod
Creates a timeperiod according to what was provided for startDate and endDateTimePeriod.next()
Return a timePeriod that starts the day after endDateTimePeriod.prev()
TimePeriod.slide
(int days) Return a timeperiod like this one, just N days prior or after.TimePeriod.slide
(TemporalAmount amount) Return a timeperiod like this one an amount before or after this one.Methods in info.ejava.assignments.api.houserenters.dto.rentals with parameters of type TimePeriodModifier and TypeMethodDescriptionint
TimePeriod.compareTo
(@NotNull TimePeriod rhs) Returns negative if this instance does not overlap and is before the provided instance.boolean
TimePeriod.isOverlap
(TimePeriod other) Evaluate whether the time period provided has a start or end date that overlaps with this one.