Overview
A class to handle storing and accessing opening hours information for GMSPlace
.
Properties | |
NSArray< GMSPeriod * > * | periods |
Contains all GMSPeriod s of open and close events for the week. | |
NSArray< NSString * > * | weekdayText |
Contains localized strings of the daily opening hours for the week. | |
GMSPlaceHoursType | hoursType |
Returns the GMSPlaceHoursType of the opening hours. | |
NSArray< GMSPlaceSpecialDay * > * | specialDays |
Returns a list of GMSPlaceSpecialDay entries, corresponding to the next seven days which may have opening hours that differ from the normal operating hours. |
Property Documentation
Contains all GMSPeriod
s of open and close events for the week.
- Note:
- Multiple periods can be associated with a day (eg. Monday 7am - Monday 2pm, Monday 5pm - Monday 10pm).
Periods may also span multiple days (eg Friday 7pm - Saturday 2am).
- (NSArray<NSString *>*) weekdayText [read, assign] |
Contains localized strings of the daily opening hours for the week.
- Note:
- The order of the text depends on the language and may begin on Monday or Sunday. Do not use the GMSDayOfWeek enum to index into the array.
- (GMSPlaceHoursType) hoursType [read, assign] |
Returns the GMSPlaceHoursType
of the opening hours.
- (NSArray<GMSPlaceSpecialDay *>*) specialDays [read, copy] |
Returns a list of GMSPlaceSpecialDay
entries, corresponding to the next seven days which may have opening hours that differ from the normal operating hours.