<commit_before>package com.emekalites.react.alarm.notification;

import android.app.AlarmManager;
import android.app.Application;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.media.Ringtone;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.SystemClock;
import android.os.Vibrator;
import android.support.v4.app.NotificationCompat;
import android.util.Log;

import org.json.JSONException;
import org.json.JSONObject;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;

/**
 * Created by emnity on 6/25/17.
 */

public class ANHelper {
    private static final long DEFAULT_VIBRATION = 100;
    private static final String TAG = ANHelper.class.getSimpleName();
    private final static String PREFERENCES_KEY = "ReactNativeAlarmNotification";
    private Context mContext;
    private SharedPreferences sharedPreferences = null;

    public ANHelper(Application context) {
        mContext = context;<commit_msg>changed Date to use java.util.Calendar for setting alarm<commit_after>package com.emekalites.react.alarm.notification;

import android.app.AlarmManager;
import android.app.Application;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.media.Ringtone;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Vibrator;
import android.support.v4.app.NotificationCompat;
import android.util.Log;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.TimeZone;

/**
 * Created by emnity on 6/25/17.
 */

public class ANHelper {
    private static final long DEFAULT_VIBRATION = 100;
    private static final String TAG = ANHelper.class.getSimpleName();
    private final static String PREFERENCES_KEY = "ReactNativeAlarmNotification";
    private Context mContext;
    private SharedPreferences sharedPreferences = null;

    public ANHelper(Application context) {
        mContext = context;
{'fraction_non_alphanumeric': 0.08838028169014084, 'fraction_numerical': 0.006338028169014085, 'mean_word_length': 5.486301369863014, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '420956', 'n_tokens_mistral': 810, 'n_tokens_neox': 786, 'n_words': 196}