public class FitbitBodytrackResponder extends AbstractBodytrackResponder {
@Override
public List<TimespanModel> getTimespans(final long startMillis, final long endMillis, final ApiKey apiKey, final String channelName) {
List<TimespanModel> items = new ArrayList<TimespanModel>();
final TimeInterval timeInterval = new SimpleTimeInterval(startMillis, endMillis, TimeUnit.ARBITRARY, TimeZone.getTimeZone("UTC"));
Connector connector = apiKey.getConnector();
final ObjectType sleep = ObjectType.getObjectType(connector, "sleep");
String objectTypeName = apiKey.getConnector().getName() + "-" + sleep.getName();
List<AbstractFacet> facets = getFacetsInTimespanOrderedByEnd(timeInterval,apiKey, sleep);