该文被密码保护。 阅读全文
posted @ 2022-08-31 16:24 萤火虫de光 阅读(0) 评论(0) 推荐(0)
摘要: public Date getFirstDay(int year, int month) { // 获取Calendar类的实例 Calendar c = Calendar.getInstance(); // 设置年份 c.set(Calendar.YEAR, year); // 设置月份,因为月份 阅读全文
posted @ 2022-08-17 10:14 萤火虫de光 阅读(359) 评论(0) 推荐(0)
摘要: 实现函数 public JSONObject getLastMonth(String dateStr,int addYear, int addMonth, int addDate) throws Exception { try { java.text.SimpleDateFormat sdf = n 阅读全文
posted @ 2022-08-17 10:09 萤火虫de光 阅读(1400) 评论(0) 推荐(0)
摘要: 1.不要看到别人的回复第一句话就说:给个代码吧!你应该想想为什么。当你自己想 出来再参考别人的提示,你就知道自己和别人思路的差异。 2.初学者请不要看太多太多的书那会误人子弟的,先找本系统的学,很多人用了很久 都是只对部分功能熟悉而已,不系统还是不够的。 3.看帮助,不要因为很难而自己是初学者所以就 阅读全文
posted @ 2022-08-15 14:51 萤火虫de光 阅读(34) 评论(0) 推荐(0)