Package org.fluxtream.core.mvc.models

Examples of org.fluxtream.core.mvc.models.TimeZoneMappingModel


    @GET
    @Path("/mapping")
    @Produces({MediaType.APPLICATION_JSON})
    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())){
View Full Code Here

TOP

Related Classes of org.fluxtream.core.mvc.models.TimeZoneMappingModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.