Delete opened from string
This commit is contained in:
parent
4b491fb938
commit
1b35b82db0
1 changed files with 8 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue