getDaysInDuration()

Returns the number of days in a duration.

getDaysInDuration(Duration duration)

duration: Type: Duration. The duration object returned by $A.localizationService.duration.

Type: number The number of days in the duration.

See Also