Create Duration.java