this.duration = facet.duration;
this.quality = facet.quality;
LocalDateTime localStartTime = new LocalDateTime(facet.start, DateTimeZone.forID(facet.tz));
startMinute = localStartTime.getHourOfDay() * 60 + localStartTime.getMinuteOfHour();
startTime = new TimeOfDayVO(startMinute, true);
LocalDateTime localTimeAsleep= new LocalDateTime(asleep_time*1000, DateTimeZone.forID(facet.tz));
timeAsleep = new TimeOfDayVO(localTimeAsleep.getHourOfDay()*60+localTimeAsleep.getMinuteOfHour(), true);
LocalDateTime localTimeAwake= new LocalDateTime(awake_time*1000, DateTimeZone.forID(facet.tz));
wakeUpTime = new TimeOfDayVO(localTimeAwake.getHourOfDay()*60+localTimeAwake.getMinuteOfHour(), true);
LocalDateTime localEndTime = new LocalDateTime(facet.end, DateTimeZone.forID(facet.tz));
endMinute = localEndTime.getHourOfDay() * 60 + localEndTime.getMinuteOfHour();
endTime = new TimeOfDayVO(endMinute, true);
timeSleeping = new DurationModel(duration);
timeAwake = new DurationModel(awake);
}