transient DateTimeFormatter zeoTimeFormat = DateTimeFormat.forPattern("yyyyMMddHHmm");
@Override
public void fromFacet(ZeoSleepStatsFacet facet, TimeInterval timeInterval, GuestSettings settings) {
date = facet.date;
minutesAsleep = new DurationModel(facet.totalZ*60);
minutesAwake = new DurationModel((int) ((double)facet.totalZ*60d/100d*(double)facet.timeInWakePercentage));
minutesToFallAsleep = new DurationModel(facet.timeToZ*60);
zq = facet.zq;
morningFeel = facet.morningFeel;
sleepGraph = facet.sleepGraph;
s = zeoTimeFormat.withZone(DateTimeZone.forTimeZone(timeInterval.getMainTimeZone())).print(facet.start);
e = zeoTimeFormat.withZone(DateTimeZone.forTimeZone(timeInterval.getMainTimeZone())).print(facet.end);