Adding Time Rotation Policy

This is my first time contributing to an open source project. Please do let me know if something seems off.
System.currentTimeMillis() ? No need to create more Date objects