Converts this duration to milliseconds assuming 24-hour days. @return the duration in milliseconds
()
| 134 | * @return the duration in milliseconds |
| 135 | */ |
| 136 | @Override |
| 137 | public long toMilliseconds() { |
| 138 | return ((((((this.getDays() * 24L) + this.getHours()) * 60 + this.getMinutes()) * 60) + this.getSeconds()) * 1000) + this.getMillis(); |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Returns the date represented by this duration ago. |
no test coverage detected