wlanslovenija/datastream — pull request #2 by mstajdohar (2012-09-17 15:22:56+00:00)
Title: Added three more granularity levels

Added three granularity levels and
moved function _round_granularity_timestamp from mongo backend to the Granularity class(es).

Rounding values is a property of granularity not of the database backend. We can now add or remove granularities in one place, just by adding or removing granularity classes.