@@ -0,0 +1,2697 @@
+package org.tndata.officehours.model;%0A%0Aimport com.google.gson.annotations.SerializedName;%0A%0A%0A/**%0A * Model for the new representation of office hours.%0A *%0A * @author Ismael Alonso%0A */%0Apublic class OfficeHours%7B%0A    @SerializedName(%22Monday%22)%0A    private String monday%5B%5D%5B%5D;%0A    @SerializedName(%22Tuesday%22)%0A    private String tuesday%5B%5D%5B%5D;%0A    @SerializedName(%22Wednesday%22)%0A    private String wednesday%5B%5D%5B%5D;%0A    @SerializedName(%22Thursday%22)%0A    private String thursday%5B%5D%5B%5D;%0A    @SerializedName(%22Friday%22)%0A    private String friday%5B%5D%5B%5D;%0A    @SerializedName(%22Saturday%22)%0A    private String saturday%5B%5D%5B%5D;%0A    @SerializedName(%22Sunday%22)%0A    private String sunday%5B%5D%5B%5D;%0A%0A%0A    public boolean hasMondayHours()%7B%0A        return monday != null;%0A    %7D%0A%0A    public boolean hasTuesdayHours()%7B%0A        return monday != null;%0A    %7D%0A%0A    public boolean hasWednesdayHours()%7B%0A        return monday != null;%0A    %7D%0A%0A    public boolean hasThursdayHours()%7B%0A        return monday != null;%0A    %7D%0A%0A    public boolean hasFridayHours()%7B%0A        return monday != null;%0A    %7D%0A%0A    public boolean hasSaturdayHours()%7B%0A        return monday != null;%0A    %7D%0A%0A    public boolean hasSundayHours()%7B%0A        return monday != null;%0A    %7D%0A%0A    private String getHoursFor(String%5B%5D%5B%5D day)%7B%0A        String result = %22%22;%0A        for (int i = 0; i %3C day.length; i++)%7B%0A            result += day%5Bi%5D%5B0%5D + %22-%22 + day%5Bi%5D%5B1%5D;%0A            if (day.length %3C 2)%7B%0A                result += %22, %22;%0A                if (i == day.length-2)%7B%0A                    result += %22and %22;%0A                %7D%0A            %7D%0A            else if (day.length == 2 && i == 0)%7B%0A                result += %22 and %22;%0A            %7D%0A        %7D%0A        return result;%0A    %7D%0A%0A    public String getMondayHours()%7B%0A        if (hasMondayHours())%7B%0A            return getHoursFor(monday);%0A        %7D%0A        return %22%22;%0A    %7D%0A%0A    public String getTuesdayHours()%7B%0A        if (hasTuesdayHours())%7B%0A            return getHoursFor(tuesday);%0A        %7D%0A        return %22%22;%0A    %7D%0A%0A    public String getWednesdayHours()%7B%0A        if (hasWednesdayHours())%7B%0A            return getHoursFor(wednesday);%0A        %7D%0A        return %22%22;%0A    %7D%0A%0A    public String getThursdayHours()%7B%0A        if (hasThursdayHours())%7B%0A            return getHoursFor(thursday);%0A        %7D%0A        return %22%22;%0A    %7D%0A%0A    public String getFridayHours()%7B%0A        if (hasFridayHours())%7B%0A            return getHoursFor(friday);%0A        %7D%0A        return %22%22;%0A    %7D%0A%0A    public String getSaturdayHours()%7B%0A        if (hasSaturdayHours())%7B%0A            return getHoursFor(saturday);%0A        %7D%0A        return %22%22;%0A    %7D%0A%0A    public String getSundayHours()%7B%0A        if (hasSundayHours())%7B%0A            return getHoursFor(sunday);%0A        %7D%0A        return %22%22;%0A    %7D%0A%7D%0A

Add OfficeHours model class