You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-places/v1/2.0.0/com/google/api/services/places/v1/model/GoogleMapsPlacesV1PlaceOpeningHours.java
+21-15Lines changed: 21 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,8 @@ public final class GoogleMapsPlacesV1PlaceOpeningHours extends com.google.api.cl
56
56
privatejava.lang.BooleanopenNow;
57
57
58
58
/**
59
-
* The periods that this place is open during the week. The periods are in chronological order,
60
-
* starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a
61
-
* place that is never open, e.g. because it is closed temporarily for renovations.
59
+
* NOTE: The ordering of the `periods` array is independent of the ordering of the
60
+
* `weekday_descriptions` array. Do not assume they will begin on the same day.
62
61
* The value may be {@code null}.
63
62
*/
64
63
@com.google.api.client.util.Key
@@ -83,8 +82,11 @@ public final class GoogleMapsPlacesV1PlaceOpeningHours extends com.google.api.cl
83
82
84
83
/**
85
84
* Localized strings describing the opening hours of this place, one string for each day of the
86
-
* week. Will be empty if the hours are unknown or could not be converted to localized text.
87
-
* Example: "Sun: 18:00–06:00"
85
+
* week. NOTE: The order of the days and the start of the week is determined by the locale
86
+
* (language and region). The ordering of the `periods` array is independent of the ordering of
87
+
* the `weekday_descriptions` array. Do not assume they will begin on the same day. Will be empty
88
+
* if the hours are unknown or could not be converted to localized text. Example: "Sun:
89
+
* 18:00–06:00"
88
90
* The value may be {@code null}.
89
91
*/
90
92
@com.google.api.client.util.Key
@@ -152,19 +154,17 @@ public GoogleMapsPlacesV1PlaceOpeningHours setOpenNow(java.lang.Boolean openNow)
152
154
}
153
155
154
156
/**
155
-
* The periods that this place is open during the week. The periods are in chronological order,
156
-
* starting with Sunday in the place-local timezone. An empty (but not absent) value indicates a
157
-
* place that is never open, e.g. because it is closed temporarily for renovations.
157
+
* NOTE: The ordering of the `periods` array is independent of the ordering of the
158
+
* `weekday_descriptions` array. Do not assume they will begin on the same day.
0 commit comments