2 Commits

Author SHA1 Message Date
Nyall Dawson
23de9a0224 Rework QgsRange to better handle temporal ranges
Make a new QgsTemporalRange template class for specific
temporal classes.

Add QgsDateTimeRange class.
2017-04-19 18:45:17 +10:00
Nyall Dawson
c4ea048e5b New QgsRange template based class for storing interval ranges
QgsRange classes represent a range of values of some element
type. For instance, ranges of QDateTime might be used to
represent the ranges of timestamp ranges.

Ranges can indicate whether the upper and lower values are
inclusive or exclusive. The inclusivity or exclusivity of
bounds is considered when determining things like whether
ranges overlap or during calculation of range intersections.

Includes typedefs for QgsDoubleRange, QgsIntRange, QgsDateRange.
2017-04-18 12:19:42 +10:00