You could store the Time and Duration objects as static vars inside the method, just to save on 2x construct and destruct everytime this function is hit.