Package ai.nextbillion.maps.model
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 classOpeningHours.PeriodThe opening hours for a Place for a single day. -
Field Summary
Fields Modifier and Type Field Description java.lang.BooleanopenNowWhether the place is open at the current time.OpeningHours.Period[]periodsOpening periods covering seven days, starting from Sunday, in chronological order.java.lang.BooleanpermanentlyClosedIndicates that the place has permanently shut down.java.lang.String[]weekdayTextThe 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.StringtoString()
-
Field Details
-
openNow
public java.lang.Boolean openNowWhether the place is open at the current time.Note: this field will be null if it isn't present in the response.
-
periods
Opening periods covering seven days, starting from Sunday, in chronological order. -
weekdayText
public java.lang.String[] weekdayTextThe 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 permanentlyClosedIndicates that the place has permanently shut down.Note: this field will be null if it isn't present in the response.
-
-
Constructor Details
-
OpeningHours
public OpeningHours()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-