DateTimePeriod

public final class DateTimePeriod

A List of date time periods to indicate the vendor business hours for the pickup time.

Parameters

dateRange
timeRanges

A list of time range to indicate the operation hours of the date range.

Constructors

Link copied to clipboard
public DateTimePeriod DateTimePeriod(CarsDateRange dateRange, List<TimeRange> timeRanges)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@NotNull()
@Valid()
private final CarsDateRange dateRange
Link copied to clipboard
@Valid()
private final List<TimeRange> timeRanges

Functions

Link copied to clipboard
public final static DateTimePeriod.Builder builder()
Link copied to clipboard
public final CarsDateRange getDateRange()
Link copied to clipboard
public final List<TimeRange> getTimeRanges()
Link copied to clipboard