Java Code Examples for com.eveningoutpost.dexdrip.Models.AlertType#s_in_time_frame()

The following examples show how to use com.eveningoutpost.dexdrip.Models.AlertType#s_in_time_frame() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MissedReadingService.java    From xDrip with GNU General Public License v3.0 5 votes vote down vote up
private boolean inTimeFrame(SharedPreferences prefs) {
    
    int startMinutes = prefs.getInt("missed_readings_start", 0);
    int endMinutes = prefs.getInt("missed_readings_end", 0);
    boolean allDay = prefs.getBoolean("missed_readings_all_day", true);

    return AlertType.s_in_time_frame(allDay, startMinutes, endMinutes);
}
 
Example 2
Source File: MissedReadingService.java    From xDrip with GNU General Public License v3.0 5 votes vote down vote up
private boolean inTimeFrame() {

        int startMinutes = Pref.getInt("missed_readings_start", 0);
        int endMinutes = Pref.getInt("missed_readings_end", 0);
        boolean allDay = Pref.getBoolean("missed_readings_all_day", true);

        return AlertType.s_in_time_frame(allDay, startMinutes, endMinutes);
    }
 
Example 3
Source File: MissedReadingService.java    From xDrip-plus with GNU General Public License v3.0 5 votes vote down vote up
private boolean inTimeFrame(SharedPreferences prefs) {
    
    int startMinutes = prefs.getInt("missed_readings_start", 0);
    int endMinutes = prefs.getInt("missed_readings_end", 0);
    boolean allDay = prefs.getBoolean("missed_readings_all_day", true);

    return AlertType.s_in_time_frame(allDay, startMinutes, endMinutes);
}
 
Example 4
Source File: MissedReadingService.java    From xDrip-plus with GNU General Public License v3.0 5 votes vote down vote up
private boolean inTimeFrame() {

        int startMinutes = Pref.getInt("missed_readings_start", 0);
        int endMinutes = Pref.getInt("missed_readings_end", 0);
        boolean allDay = Pref.getBoolean("missed_readings_all_day", true);

        return AlertType.s_in_time_frame(allDay, startMinutes, endMinutes);
    }
 
Example 5
Source File: MissedReadingService.java    From xDrip-Experimental with GNU General Public License v3.0 5 votes vote down vote up
private boolean inTimeFrame(SharedPreferences prefs) {
    
    int startMinutes = prefs.getInt("missed_readings_start", 0);
    int endMinutes = prefs.getInt("missed_readings_end", 0);
    boolean allDay = prefs.getBoolean("missed_readings_all_day", true);

    return AlertType.s_in_time_frame(allDay, startMinutes, endMinutes);
}