From 3bc6afad03710ddf2890f9897e2962a25296eab2 Mon Sep 17 00:00:00 2001 From: Gregor Santner Date: Sun, 25 Aug 2019 14:07:07 +0200 Subject: [PATCH] Fix getDateOfDaysAgo --- .../opoc/preference/SharedPreferencesPropertyBackend.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/net/gsantner/opoc/preference/SharedPreferencesPropertyBackend.java b/app/src/main/java/net/gsantner/opoc/preference/SharedPreferencesPropertyBackend.java index 7be425df..343f2a4c 100644 --- a/app/src/main/java/net/gsantner/opoc/preference/SharedPreferencesPropertyBackend.java +++ b/app/src/main/java/net/gsantner/opoc/preference/SharedPreferencesPropertyBackend.java @@ -46,6 +46,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Date; +import java.util.GregorianCalendar; import java.util.List; @@ -545,7 +546,9 @@ public class SharedPreferencesPropertyBackend implements PropertyBackend