Returns the number of seconds in a duration.
Signature
getSecondsInDuration(Duration duration)
Parameters
- duration
- Type: Duration
- The duration object returned by $A.localizationService.duration.
Returns
- Type: number
- The number of seconds in the duration.