Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Duration add(Duration otherDuration){
- return new Duration(this.getHours()+otherDuration.getHours(), this.getMinutes()+otherDuration.getMinutes(), this.getSeconds()+otherDuration.getSeconds());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement