<commit_before>package leetcode;

/**
 * https://leetcode.com/problems/day-of-the-week/
 */
public class Problem1185 {
    public String dayOfTheWeek(int day, int month, int year) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem1185 prob = new Problem1185();
        System.out.println(prob.dayOfTheWeek(31, 8, 2019)); // "Saturday"
        System.out.println(prob.dayOfTheWeek(18, 7, 1999)); // "Sunday"
        System.out.println(prob.dayOfTheWeek(15, 8, 1993)); // "Sunday"
    }
}<commit_msg>Solve problem 1185<commit_after>package leetcode;

import java.time.LocalDate;
import java.time.format.TextStyle;
import java.util.Locale;

/**
 * https://leetcode.com/problems/day-of-the-week/
 */
public class Problem1185 {
    public String dayOfTheWeek(int day, int month, int year) {
        LocalDate date = LocalDate.of(year, month, day);
        return date.getDayOfWeek().getDisplayName(TextStyle.FULL, Locale.getDefault());
    }
}
{'fraction_non_alphanumeric': 0.14084507042253522, 'fraction_numerical': 0.04124748490945674, 'mean_word_length': 3.2161016949152543, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6705875', 'n_tokens_mistral': 363, 'n_tokens_neox': 324, 'n_words': 68}