Class OpeningHours

java.lang.Object
com.here.sdk.search.OpeningHours

public final class OpeningHours extends Object

Represents opening hours information.

  • Field Details

    • text

      @NonNull public List<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 List<ScheduleDetails> scheduleDetailsList

      The list of schedule details.

    • categories

      @NonNull public List<PlaceCategory> categories

      The list of categories related to opening hours information. This data is not available in offline search.

  • Constructor Details

    • OpeningHours

      public OpeningHours(@NonNull List<String> text, boolean isOpen, @NonNull List<ScheduleDetails> scheduleDetailsList, @NonNull 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.

  • Method Details