public String getTimeZoneMapping(){
TimeZoneMappingModel timeZoneMapping = new TimeZoneMappingModel();
timeZoneMapping.timeZones = new ArrayList<TimeZoneSegmentModel>();
List<DayMetadata> metaData = metadataService.getAllDayMetadata(AuthHelper.getGuestId());
for (DayMetadata dayMetadata : metaData){
TimeZoneSegmentModel curTimeZone;
if (timeZoneMapping.timeZones.size() == 0 || !timeZoneMapping.timeZones.get(timeZoneMapping.timeZones.size() - 1).name.equals(dayMetadata.getTimeInterval().getMainTimeZone().getID())){
curTimeZone = new TimeZoneSegmentModel();
curTimeZone.name = dayMetadata.getTimeInterval().getMainTimeZone().getID();
curTimeZone.start = dayMetadata.start;
curTimeZone.tz = TimeZone.getTimeZone(curTimeZone.name);
curTimeZone.start += curTimeZone.tz.getOffset(curTimeZone.start);
curTimeZone.offset = curTimeZone.tz.getRawOffset();