Package com.azure.maps.search.models
Class OperatingHoursTimeRange
java.lang.Object
com.azure.maps.search.models.OperatingHoursTimeRange
Open time range for a day.
-
Constructor Summary
ConstructorsConstructorDescriptionOperatingHoursTimeRange
(LocalDateTime startTime, LocalDateTime endTime) OperatingHoursTimeRange constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the endTime property: The point in the next 7 days range when a given POI is being closed, or the beginning of the range if it was closed before the rangeGet the startTime property: The point in the next 7 days range when a given POI is being opened, or the beginning of the range if it was opened before the range.setEndTime
(LocalDateTime endTime) Set the endTime property: The point in the next 7 days range when a given POI is being closed, or the beginning of the range if it was closed before the range.setStartTime
(LocalDateTime startTime) Set the startTime property: The point in the next 7 days range when a given POI is being opened, or the beginning of the range if it was opened before the range
-
Constructor Details
-
OperatingHoursTimeRange
OperatingHoursTimeRange constructor- Parameters:
startTime
- The point in the next 7 days range when a given POI is being opened, or the beginning of the range if it was opened before the range.endTime
- The point in the next 7 days range when a given POI is being closed, or the beginning of the range if it was closed before the range.
-
-
Method Details
-
getStartTime
Get the startTime property: The point in the next 7 days range when a given POI is being opened, or the beginning of the range if it was opened before the range.- Returns:
- the startTime value
-
getEndTime
Get the endTime property: The point in the next 7 days range when a given POI is being closed, or the beginning of the range if it was closed before the range- Returns:
- the endTime value.
-
setStartTime
Set the startTime property: The point in the next 7 days range when a given POI is being opened, or the beginning of the range if it was opened before the range- Parameters:
startTime
- the startTime value to set.- Returns:
- the OperatingHoursTimeRange object itself.
-
setEndTime
Set the endTime property: The point in the next 7 days range when a given POI is being closed, or the beginning of the range if it was closed before the range.- Parameters:
endTime
- the endTime value to set- Returns:
- the OperatingHoursTimeRange object itself
-