Delete opened from string

This commit is contained in:
PavelRatushny 2017-12-08 11:04:05 +02:00
parent 4b491fb938
commit 1b35b82db0

View file

@ -167,13 +167,14 @@ public class AmenityMenuController extends MenuController {
}
public static String getOpenFromStr(Amenity amenity) {
OpeningHoursParser.OpeningHours openingHours = OpeningHoursParser.parseOpenedHours(amenity.getOpeningHours());
if (openingHours == null) {
return "";
} else {
Calendar cal = Calendar.getInstance();
return openingHours.getOpenFromStr(cal);
}
return "";
// OpeningHoursParser.OpeningHours openingHours = OpeningHoursParser.parseOpenedHours(amenity.getOpeningHours());
// if (openingHours == null) {
// return "";
// } else {
// Calendar cal = Calendar.getInstance();
// return openingHours.getOpenFromStr(cal);
// }
}
public static String getClosedAtStr(Amenity amenity) {