市政結構
類型名稱:CivicStructure
擴充 Place
名稱 |
類型 |
說明 |
開放營業時間 |
時間長度 |
商家的營業時間。您可以指定每週營業時間,以天數為基準,再用每日。您可以列出多個日期,並以半形逗號分隔 (每天分隔)。日例如,下午 3 點指定為 15:00 。 - 範例如下:<time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time> 。 - 如果商家每週 7 天營業,則可指定為 <time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time> 。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-03 (世界標準時間)。
[null,null,["上次更新時間:2024-09-03 (世界標準時間)。"],[[["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"]]