<commit_before>package com.ffxivcensus.gatherer;

import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

import java.io.IOException;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.regex.Pattern;

/**
 * Object class to represent a Character/Player. This class specifies the attributes and behaviour of a player object.
 * It also serves the functionality of fetching player data from the Lodestone.
 *
 * @author <NAME>
 * @since v1.0
 * @see Gatherer
 */
public class Player {

    /**
     * Number of days inactivity before character is considered inactive
     */
    private final static int ACTIVITY_RANGE_DAYS = 30;

    private static final long ONE_DAY_IN_MILLIS=86400000;

    /**
     * Ignore dates from inside EXCLUDE_RANGE in minutes
     */
    private static final long EXCLUDE_RANGE= 5;

    private int id;
    private String realm;
    private String playerName;
    private String race;
    private String gender;
    private String grandCompany;
    private String freeCompany;<commit_msg>Removed exclude time constant (#13)<commit_after>package com.ffxivcensus.gatherer;

import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

import java.io.IOException;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.regex.Pattern;

/**
 * Object class to represent a Character/Player. This class specifies the attributes and behaviour of a player object.
 * It also serves the functionality of fetching player data from the Lodestone.
 *
 * @author <NAME>
 * @since v1.0
 * @see Gatherer
 */
public class Player {

    /**
     * Number of days inactivity before character is considered inactive
     */
    private final static int ACTIVITY_RANGE_DAYS = 30;

    private static final long ONE_DAY_IN_MILLIS=86400000;

    private int id;
    private String realm;
    private String playerName;
    private String race;
    private String gender;
    private String grandCompany;
    private String freeCompany;
{'fraction_non_alphanumeric': 0.08174486803519061, 'fraction_numerical': 0.009897360703812317, 'mean_word_length': 4.149056603773585, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5006209', 'n_tokens_mistral': 841, 'n_tokens_neox': 814, 'n_words': 242}