This could would get a lot simpler if we just used the same (second-granularity) string format for everything. We could also just ask the user to specify the rolling interval in seconds instead of having special strings. Finally, I don't really see a great use case for having < 1s rolling interval, so to keep things simple we could just drop support for that.