Change EventData from struct to class

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved all files from src/events to src/event

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Renamed EventData::utcDate() to utcStartDate()

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Renamed EventData::duration() to durationInSeconds()

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Renamed EventData::endDate() to utcEndDate()

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Renamed EventData::serverLocalDate() to serverStartDate()

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added serverEndDate method to EventData

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added EventData::inProgress() and setInProgress() methods

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use utcEndDate() method in EventTimelineWidget

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added EventData::hasDuration() method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved all time-range related variables to struct VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Created basic consturctor for VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added clear method to VisibleTimeRange struct

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved zoomSeconds method to VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved zoomLevel calculation to VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed zoomSeconds property from EventTimelineWidget

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed unused setZoomLevel method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved setZoomSeconds() method to VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved setViewStartOffset method to VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Extracted earliestDate() and latestDate() methods

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>