|
|
@@ -1,6 +1,7 @@ |
|
|
|
package cc.smtweb.framework.core.util; |
|
|
|
|
|
|
|
import org.apache.commons.lang3.time.DateUtils; |
|
|
|
import org.springframework.util.unit.DataUnit; |
|
|
|
|
|
|
|
import java.sql.Timestamp; |
|
|
|
import java.text.DateFormat; |
|
|
@@ -1204,6 +1205,9 @@ public class DateUtil { |
|
|
|
return ymPeriod; |
|
|
|
} |
|
|
|
} |
|
|
|
public static String getHalfEndYm() { |
|
|
|
return getHalfEndYm(DateUtil.getNowYm()); |
|
|
|
} |
|
|
|
|
|
|
|
//获取年月,YYYYMM格式 |
|
|
|
public static String getDateYm(Date dt) { |
|
|
|