Provide a method skeleton for calculating a remaining time