@tdas Ah okay I actually found one potential issue. When rolling on days... I guess this will just always use the UTC day? Might be good to document that.

```
scala> val now = System.currentTimeMillis()
now: Long = 1401931771561

scala> val rolloverIntervalMillis = 24 * 3600 * 1000
rolloverIntervalMillis: Int = 86400000

scala> val targetTime = math.ceil(now.toDouble / rolloverIntervalMillis) * rolloverIntervalMillis
targetTime: Double = 1.4020128E12

scala> new Date(targetTime.toLong)
res2: java.util.Date = Thu Jun 05 17:00:00 PDT 2014
```