|
@@ -1045,19 +1045,7 @@ public class CustomFunction {
|
|
return "";
|
|
return "";
|
|
}
|
|
}
|
|
|
|
|
|
- public static void main(String[] args) {
|
|
|
|
-// System.out.println(dateAfter("2020-01-25T16:00:00.000Z",-1));
|
|
|
|
- DateTime dt2=new DateTime("2022-10-15T13:30:00.000Z");
|
|
|
|
- DateTime dt=new DateTime("2022-10-13T8:30:00.000Z");
|
|
|
|
- System.out.println(HashUtil.identityHashCode(dt));
|
|
|
|
- System.out.println(HashUtil.identityHashCode(dt2));
|
|
|
|
-// System.out.println(DateUtil.between(dt,dt2, DateUnit.HOUR));
|
|
|
|
- System.out.println(hoursPassed(dt,dt2));
|
|
|
|
- System.out.println(minutesPassed(dt,dt2));
|
|
|
|
- System.out.println(daysPassed(dt,dt2));
|
|
|
|
- System.out.println(conversionUnit(181,"m"));
|
|
|
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
public static String dateToStr(Date date, String formatter) {
|
|
public static String dateToStr(Date date, String formatter) {
|
|
String value = null;
|
|
String value = null;
|