Duration Class implemented