Class OpeningHours

java.lang.Object
ai.nextbillion.maps.model.OpeningHours
All Implemented Interfaces:
java.io.Serializable

public class OpeningHours
extends java.lang.Object
implements java.io.Serializable
Opening hours for a Place Details result. Please see Place Details Results for more details.
See Also:
Serialized Form
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  OpeningHours.Period
    The opening hours for a Place for a single day.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.Boolean openNow
    Whether the place is open at the current time.
    OpeningHours.Period[] periods
    Opening periods covering seven days, starting from Sunday, in chronological order.
    java.lang.Boolean permanentlyClosed
    Indicates that the place has permanently shut down.
    java.lang.String[] weekdayText
    The formatted opening hours for each day of the week, as an array of seven strings; for example, "Monday: 8:30 am – 5:30 pm".
  • Constructor Summary

    Constructors 
    Constructor Description
    OpeningHours()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • openNow

      public java.lang.Boolean openNow
      Whether the place is open at the current time.

      Note: this field will be null if it isn't present in the response.

    • periods

      public OpeningHours.Period[] periods
      Opening periods covering seven days, starting from Sunday, in chronological order.
    • weekdayText

      public java.lang.String[] weekdayText
      The formatted opening hours for each day of the week, as an array of seven strings; for example, "Monday: 8:30 am – 5:30 pm".
    • permanentlyClosed

      public java.lang.Boolean permanentlyClosed
      Indicates that the place has permanently shut down.

      Note: this field will be null if it isn't present in the response.

  • Constructor Details

  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object