You are here

public function CalendarEvent::getTimezone in Calendar 8.2

Same name and namespace in other branches
  1. 8 src/CalendarEvent.php \Drupal\calendar\CalendarEvent::getTimezone()

Getter for the timezone property.

Return value

\DateTimeZone The timezone of this event.

File

src/CalendarEvent.php, line 393

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

public function getTimezone() {
  return $this->timezone;
}