You are here

public function CalendarEvent::getStartDate in Calendar 8.2

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

Getter for the start date.

Return value

\Drupal\Core\Datetime\DrupalDateTime The start date.

File

src/CalendarEvent.php, line 253

Class

CalendarEvent
Defines a calendar event object.

Namespace

Drupal\calendar

Code

public function getStartDate() {
  return $this->startDate;
}