You are here

public function CalendarDateInfo::setTimezone in Calendar 8

Setter for the timezone variable.

Parameters

\DateTimeZone $timezone: The timezone variable.

File

src/CalendarDateInfo.php, line 191

Class

CalendarDateInfo
Defines a calendar date info object.

Namespace

Drupal\calendar

Code

public function setTimezone($timezone) {
  $this->timezone = $timezone;
}