GooglePlaces Framework Reference Stay organized with collections Save and categorize content based on your preferences.
AI-generated Key Takeaways
GMSPeriodrepresents the operational hours of a place, defined by an opening and closing time.It includes an
openEvent, which is mandatory and indicates the start time of the operational period.A
closeEventis optional and specifies the closing time; if absent, it implies 24-hour operation indicated by "0000" inopenEvent's time.
GMSPeriod
@interfaceGMSPeriod:NSObjectA class representing a period of time where the place is operating for aGMSPlace.It contains an openGMSEvent and an optional closeGMSEvent. The close event will be nilif the period is open 24hrs.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.