Add documentation comments for time functions