摘要: Java时间格式转换大全 import java.text.*; import java.util.Calendar; public class VeDate { /** * 获取现在时间 * * @return 返回时间类型 yyyy-MM-dd HH:mm:ss */ public static 阅读全文
posted @ 2021-06-30 17:21 哈尔的卡西法 阅读(1730) 评论(0) 推荐(0)
摘要: private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); @Test public void test_getMonthFullDay(){ System.out.println(getMonthFullDay 阅读全文
posted @ 2021-06-30 17:17 哈尔的卡西法 阅读(112) 评论(0) 推荐(0)