get Duration
Returns sleep duration that doesn't includes awakesDuration in specified time units.
Return
sleep duration in specified time units
Parameters
units
time units of resulted sleep duration.
Returns sleep duration that doesn't includes awakesDuration in specified time units.
sleep duration in specified time units
time units of resulted sleep duration.