Switch to side-by-side view

--- a
+++ b/recommendation-engine/src/main/java/eu/alfred/recommendations/util/DateUtilityMethods.java
@@ -0,0 +1,24 @@
+package eu.alfred.recommendations.util;
+
+import java.time.Instant;
+import java.time.LocalDate;
+import java.time.ZoneOffset;
+
+/**
+ * This class provides some utility methods related to date and time.
+ * 
+ * @author tasos
+ *
+ */
+public class DateUtilityMethods {
+
+	public Long getCurrentDate() { 
+		return Instant.now().toEpochMilli();
+	}
+	
+	public Long getDateInTwoWeeks() { 
+		LocalDate today = LocalDate.now();
+		LocalDate inTwoWeeks = today.plusWeeks(2);
+		return inTwoWeeks.atStartOfDay().toInstant(ZoneOffset.UTC).toEpochMilli(); 
+	}
+}