int function ( Calendar arg0 ) { if ( mDays == 0 ) { return - 1 ; } int loc0 = ( arg0 . get ( Calendar . DAY_OF_WEEK ) + 5 ) % 7 ; int loc1 = 0 ; int loc2 = 0 ; for ( ; loc2 < 7 ; loc2 ++ ) { loc1 = ( loc0 + loc2 ) % 7 ; if ( isSet ( loc1 ) ) { break ; } } return loc2 ; }
returns number of days from today until next alarm concode_field_sep String[] ALARM_QUERY_COLUMNS concode_elem_sep String ALERT concode_elem_sep int mDays concode_elem_sep Uri CONTENT_URI concode_elem_sep boolean vibrate concode_elem_sep String MESSAGE concode_elem_sep int ALARM_MINUTES_INDEX concode_elem_sep int ALARM_VIBRATE_INDEX concode_elem_sep Parcelable.Creator<Alarm> CREATOR concode_elem_sep boolean enabled concode_elem_sep String HOUR concode_elem_sep String VIBRATE concode_elem_sep String MINUTES concode_elem_sep int hour concode_elem_sep Uri alert concode_elem_sep String WHERE_ENABLED concode_elem_sep int id concode_elem_sep String ALARM_TIME concode_elem_sep int[] DAY_MAP concode_elem_sep int ALARM_HOUR_INDEX concode_elem_sep String DEFAULT_SORT_ORDER concode_elem_sep boolean silent concode_elem_sep String DAYS_OF_WEEK concode_elem_sep int ALARM_MESSAGE_INDEX concode_elem_sep int minutes concode_elem_sep String label concode_elem_sep DaysOfWeek daysOfWeek concode_elem_sep int ALARM_ENABLED_INDEX concode_elem_sep int ALARM_DAYS_OF_WEEK_INDEX concode_elem_sep int ALARM_ALERT_INDEX concode_elem_sep String ENABLED concode_elem_sep long time concode_elem_sep int ALARM_TIME_INDEX concode_elem_sep int ALARM_ID_INDEX concode_field_sep boolean isRepeatSet concode_elem_sep boolean[] getBooleanArray concode_elem_sep void set concode_elem_sep void set concode_elem_sep boolean isSet concode_elem_sep int getCoded concode_elem_sep String getLabelOrDefault concode_elem_sep Alarm[] newArray concode_elem_sep Alarm createFromParcel concode_elem_sep String toString concode_elem_sep int describeContents concode_elem_sep void writeToParcel