public class OpeningHours
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OpeningHours.Period
Period models the opening hours for a Place for a single day.
|
Modifier and Type | Field and Description |
---|---|
java.lang.Boolean |
openNow
openNow is a boolean value indicating if the place is open at the current time.
|
OpeningHours.Period[] |
periods
periods is an array of opening periods covering seven days, starting from Sunday, in
chronological order.
|
java.lang.Boolean |
permanentlyClosed
permanentlyClosed indicates that the place has permanently shut down.
|
java.lang.String[] |
weekdayText
weekdayText is an array of seven strings representing the formatted opening hours for each
day of the week, for example "Monday: 8:30 am – 5:30 pm".
|
Constructor and Description |
---|
OpeningHours() |
public java.lang.Boolean openNow
Note: this field will be null if it isn't present in the response.
public OpeningHours.Period[] periods
public java.lang.String[] weekdayText
public java.lang.Boolean permanentlyClosed
Note: this field will be null if it isn't present in the response.