Class OpeningHours
Class OpeningHours
- java.lang.Object
-
- com.here.sdk.search.OpeningHours
-
public final class OpeningHours extends java.lang.ObjectRepresents opening hours information.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<PlaceCategory>categoriesThe list of categories related to opening hours information.booleanisOpenBoolean flag informing if the place is open or closed at the time when the search request was initiated.java.util.List<ScheduleDetails>scheduleDetailsListThe list of schedule details.java.util.List<java.lang.String>textThe list of opening hours presented as localized text.
-
Constructor Summary
Constructors Constructor Description OpeningHours(java.util.List<java.lang.String> text, boolean isOpen, java.util.List<ScheduleDetails> scheduleDetailsList, java.util.List<PlaceCategory> categories)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
text
@NonNull public java.util.List<java.lang.String> text
The list of opening hours presented as localized text.
-
isOpen
public boolean isOpen
Boolean flag informing if the place is open or closed at the time when the search request was initiated. For offline search, this is calculated using device's time, so it may give incorrect value if device and place are located in different time zones.
-
scheduleDetailsList
@NonNull public java.util.List<ScheduleDetails> scheduleDetailsList
The list of schedule details.
-
categories
@NonNull public java.util.List<PlaceCategory> categories
The list of categories related to opening hours information. This data is not available in offline search.
-
-
Constructor Detail
-
OpeningHours
public OpeningHours(@NonNull java.util.List<java.lang.String> text, boolean isOpen, @NonNull java.util.List<ScheduleDetails> scheduleDetailsList, @NonNull java.util.List<PlaceCategory> categories)Creates a new instance.
- Parameters:
text-The list of opening hours presented as localized text.
isOpen-Boolean flag informing if the place is open or closed at the time when the search request was initiated. For offline search, this is calculated using device's time, so it may give incorrect value if device and place are located in different time zones.
scheduleDetailsList-The list of schedule details.
categories-The list of categories related to opening hours information. This data is not available in offline search.
-
-