Class OperatingHoursTimeRange

java.lang.Object
com.azure.maps.search.models.OperatingHoursTimeRange

public final class OperatingHoursTimeRange extends Object
Open time range for a day.
  • Constructor Details

    • OperatingHoursTimeRange

      public OperatingHoursTimeRange(LocalDateTime startTime, LocalDateTime endTime)
      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

      public LocalDateTime 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

      public LocalDateTime 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

      public OperatingHoursTimeRange 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
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the OperatingHoursTimeRange object itself.
    • setEndTime

      public OperatingHoursTimeRange 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.
      Parameters:
      endTime - the endTime value to set
      Returns:
      the OperatingHoursTimeRange object itself