public class TimeAlarm
extends BroadcastReceiver
Modifier and Type | Field and Description |
---|---|
(package private) NotificationManager |
nm |
Constructor and Description |
---|
TimeAlarm() |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
getDayOfWeek(int dayOfWeek)
Macht aus einer Zahl einen String mit dem Wochentag
|
private int |
getHour(java.lang.String zeit)
Extrahiert die Stunden aus einem Zeit String im Format hh:mm
|
private int |
getMinutes(java.lang.String zeit)
Extrahiert die Minuten aus einem Zeit String im Format hh:mm
|
void |
onReceive(Context context,
Intent intent) |
void |
showNotification(Context myContext)
Zeigt eine Notification an
|
public void onReceive(Context context, Intent intent)
public void showNotification(Context myContext)
myContext
- private int getMinutes(java.lang.String zeit)
zeit
- private int getHour(java.lang.String zeit)
zeit
- private java.lang.String getDayOfWeek(int dayOfWeek)
dayOfWeek
-