Added DateTimeRange class

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use DateTimeRange for range storage in VisibleTimeRange

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

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

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

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added copy constructors to DateTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use DateTimeRange for storing rounded date-time in VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use DateTimeRange for storing visible time range

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Renamed zoom seconds to visible seconds

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not use rounded range - it causes more pain than gain

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not store viewSeconds in VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not store time seconds in VisibleTimeRange

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

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

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

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Recompute visible range on addDate

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Return whole ranges from VisibleTimeRange

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

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

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

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