我正在尝试在功能接口中格式化日期,但我不知道是否可能
SimpleDateFormat dt1 = new SimpleDateFormat("ddmmyyyyy");
List<MenuPrice> menuPrices = findAll(restaurant);
menuPrices.parallelStream()
.collect(Collectors.groupingBy(dt1.format(MenuPrice::getUpdateDate)));
LEATH
相关分类