Loading src/android/LocalNotificationOptions.java +14 −0 Changes for src/android/LocalNotificationOptions.java: 14 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ package de.appplant.cordova.plugin; import java.util.Calendar; import java.util.Date; import org.json.JSONObject; import android.R; Loading Loading @@ -50,6 +53,17 @@ public class LocalNotificationOptions { return date; } /** * Gibt die Zeit als Kalender an. */ public Calendar getCalendar () { Calendar calendar = Calendar.getInstance(); calendar.setTime(new Date(getDate())); return calendar; } /** * Gibt die Nachricht der Notification an. */ Loading Loading
src/android/LocalNotificationOptions.java +14 −0 Changes for src/android/LocalNotificationOptions.java: 14 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -9,6 +9,9 @@ package de.appplant.cordova.plugin; import java.util.Calendar; import java.util.Date; import org.json.JSONObject; import android.R; Loading Loading @@ -50,6 +53,17 @@ public class LocalNotificationOptions { return date; } /** * Gibt die Zeit als Kalender an. */ public Calendar getCalendar () { Calendar calendar = Calendar.getInstance(); calendar.setTime(new Date(getDate())); return calendar; } /** * Gibt die Nachricht der Notification an. */ Loading