02 2023 档案
摘要:dataList.stream().sorted(Comparator.comparing()).skip(pageNum * pageSize).limit(pageSize).collect(Collectors.toList());
阅读全文
摘要:#字符串转换时间戳 public static void main(String[] args) { // 字符串转换时间戳 SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM"); Date date = new Date(); try { da
阅读全文
摘要:SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Calendar calendar = new GregorianCalendar(); calendar.setTime(date); //获得本月第一天 calendar.add
阅读全文

浙公网安备 33010602011771号