[ViewLane] Replace duration conversion with static wrapper in utils.