updated javadoc in class Duration