* creates a new Duration object, this function can also take hours, minutes and seconds (they are automatically converted to milliseconds)
* creates a new Duration object, this function can also take hours, minutes, seconds and milliseconds (they are automatically converted to milliseconds)
*
* @param {Number} [pYears=0] years
* @param {Number} [pMonths=0] months
...
...
@@ -193,21 +195,67 @@ function Duration (pYears, pMonths, pDays, pMillis)