Lines Matching refs:alarmTime
54 Calendar alarmTime = Calendar.getInstance(); in scheduleAlarm() local
55 alarmTime.set(Calendar.MONTH, alarm.month); in scheduleAlarm()
56 alarmTime.set(Calendar.DATE, alarm.date); in scheduleAlarm()
57 alarmTime.set(Calendar.HOUR_OF_DAY, alarm.hour); in scheduleAlarm()
58 alarmTime.set(Calendar.MINUTE, alarm.minute); in scheduleAlarm()
61 alarmTime.getTimeInMillis(), in scheduleAlarm()
91 Calendar alarmTime = Calendar.getInstance(); in getNextAlarmTime() local
92 alarmTime.set(Calendar.HOUR_OF_DAY, hour); in getNextAlarmTime()
93 alarmTime.set(Calendar.MINUTE, minute); in getNextAlarmTime()
94 if ((alarmTime.getTimeInMillis() - System.currentTimeMillis()) < 0) { in getNextAlarmTime()
95 alarmTime.add(Calendar.DATE, 1); in getNextAlarmTime()
97 return alarmTime; in getNextAlarmTime()