interface OpeningHours {
    open_now: boolean;
    periods: OpeningPeriod[];
    weekday_text: string[];
}

Properties

open_now: boolean

is a boolean value indicating if the place is open at the current time.

periods: OpeningPeriod[]

is an array of opening periods covering seven days, starting from Sunday, in chronological order.

weekday_text: string[]

is an array of seven strings representing the formatted opening hours for each day of the week. If a language parameter was specified in the Place Details request, the Places Service will format and localize the opening hours appropriately for that language. The ordering of the elements in this array depends on the language parameter. Some languages start the week on Monday while others start on Sunday.