diff --git a/hazelcast/pom.xml b/hazelcast/pom.xml
index 11b12dd..8a31594 100644
--- a/hazelcast/pom.xml
+++ b/hazelcast/pom.xml
@@ -36,7 +36,7 @@
com.hazelcast
- hazelcast-all
+ hazelcast
provided
diff --git a/pom.xml b/pom.xml
index 7b3313d..7368667 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,7 +40,7 @@
time
17
- 4.2.8
+ 5.4.0
@@ -53,7 +53,7 @@
com.hazelcast
- hazelcast-all
+ hazelcast
${hazelcast.version}
diff --git a/time/src/main/java/eu/ztsh/lib/time/util/TimeUtil.java b/time/src/main/java/eu/ztsh/lib/time/util/TimeUtil.java
index 2303580..59351bd 100644
--- a/time/src/main/java/eu/ztsh/lib/time/util/TimeUtil.java
+++ b/time/src/main/java/eu/ztsh/lib/time/util/TimeUtil.java
@@ -35,6 +35,10 @@ public class TimeUtil {
return LocalDate.now();
}
+ public static LocalDate yesterday() {
+ return today().minusDays(1);
+ }
+
public static LocalDate convert(Date dateToConvert) {
return dateToConvert.toInstant()
.atZone(ZoneId.systemDefault())