setSleepDurationFormatter

Sets the SleepDurationFormatter to be used for formatting the sleep duration string. The default formatter displays the duration in hours and minutes.

Parameters

sleepDurationFormatter

The SleepDurationFormatter to use. Must not be null.