<commit_before>package hochberger.utilities.timing;

public class ToMilis {

    private ToMilis() {
        super();
    }

    public static long seconds(final long seconds) {
        return 1000 * seconds;
    }

    public static long minutes(final long minutes) {
        return minutes * seconds(60);
    }

    public static long hours(final long hours) {
        return hours * minutes(60);
    }

    public static long days(final long days) {
        return days * hours(24);
    }

}
<commit_msg>added support to timespans provided as float<commit_after>package hochberger.utilities.timing;

public class ToMilis {

    private ToMilis() {
        super();
    }

    public static long seconds(final long seconds) {
        return 1000 * seconds;
    }

    public static long seconds(final float seconds) {
        return (long) (1000 * seconds);
    }

    public static long minutes(final long minutes) {
        return minutes * seconds(60);
    }

    public static long minutes(final float minutes) {
        return (long) (minutes * seconds(60));
    }

    public static long hours(final long hours) {
        return hours * minutes(60);
    }

    public static long hours(final float hours) {
        return (long) (hours * minutes(60));
    }

    public static long days(final long days) {
        return days * hours(24);
    }

    public static long days(final float days) {
        return (long) (days * hours(24));
    }
}

{'fraction_non_alphanumeric': 0.08965062623599208, 'fraction_numerical': 0.01977587343441002, 'mean_word_length': 2.104294478527607, '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': '2357659', 'n_tokens_mistral': 451, 'n_tokens_neox': 399, 'n_words': 134}