CivicStructure
Type name: CivicStructure
Extends Place
Name |
Type |
Description |
openingHours |
Duration |
The opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas ',' separating each day. Day or time ranges are specified using a hyphen '-'. - Days are specified using the following two-letter combinations: Mo , Tu , We , Th , Fr , Sa , Su . - Times are specified using 24:00 time. For example, 3pm is specified as 15:00 . - Here is an example: <time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time> . - If a business is open 7 days a week, then it can be specified as <time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time> . |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["CivicStructure is a type of Place, providing information about civic structures like government buildings or public spaces."],["It includes an `openingHours` property to specify the structure's operating hours using a structured format with days and times."],["`openingHours` uses a specific syntax to represent weekly time ranges, including days (Mo, Tu, We, Th, Fr, Sa, Su) and 24-hour time."]]],["The `CivicStructure` type, which extends `Place`, includes the `openingHours` property. This property, of type `Duration`, details a business's operating hours. Hours are defined as weekly ranges using two-letter day codes (e.g., `Mo`, `Tu`) and 24-hour time. Multiple days are comma-separated, and ranges use hyphens. For instance, `Tu,Th 16:00-20:00` means Tuesdays and Thursdays from 4 PM to 8 PM, and `Mo-Su` shows opening hours from Monday through Sunday.\n"]]