date = $date; } /** * @return GoogleTypeDate */ public function getDate() { return $this->date; } /** * A day of the week, as an integer in the range 0-6. 0 is Sunday, 1 is * Monday, etc. * * @param int $day */ public function setDay($day) { $this->day = $day; } /** * @return int */ public function getDay() { return $this->day; } /** * The hour in 24 hour format. Ranges from 0 to 23. * * @param int $hour */ public function setHour($hour) { $this->hour = $hour; } /** * @return int */ public function getHour() { return $this->hour; } /** * The minute. Ranges from 0 to 59. * * @param int $minute */ public function setMinute($minute) { $this->minute = $minute; } /** * @return int */ public function getMinute() { return $this->minute; } /** * Whether or not this endpoint was truncated. Truncation occurs when the real * hours are outside the times we are willing to return hours between, so we * truncate the hours back to these boundaries. This ensures that at most 24 * * 7 hours from midnight of the day of the request are returned. * * @param bool $truncated */ public function setTruncated($truncated) { $this->truncated = $truncated; } /** * @return bool */ public function getTruncated() { return $this->truncated; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint::class, 'Google_Service_MapsPlaces_GoogleMapsPlacesV1PlaceOpeningHoursPeriodPoint');