Проверил все вероятные события по данным пунктам. Вывод соответствует критериям. Но валик все равно не пропускает. Что я упустил? Нету больше сил с ним бороться.
package com.javarush.task.task39.task3913;
import java.nio.file.Paths;
import java.util.Date;
public class Solution {
public static void main(String[] args) {
LogParser logParser = new LogParser(Paths.get("d:/logs/"));
System.out.println(logParser.getNumberOfUniqueIPs(null, new Date()));
System.out.println(logParser.getNumberOfUniqueIPs(null, null));
System.out.println(logParser.getDateWhenUserLoggedFirstTime("Amigo", null,null));
System.out.println("=============================");
System.out.println("GET DATE FOR EVENT");
System.out.println(logParser.execute("get date for event = \"[any_event]\" and date between \"[after]\" and \"[before]\""));
System.out.println(logParser.execute("get date for event = \"WRITE_MESSAGE\" and date between \"[after]\" and \"[before]\""));
System.out.println(logParser.execute("get date for event = \"WRITE_MESSAGE\" and date between \"11.12.2013 0:00:00\" and \"03.01.2016 23:59:59\""));
System.out.println(logParser.execute("get date for event = \"[any_event]\" and date between \"11.12.2013 0:00:00\" and \"03.01.2014 23:59:59\""));
System.out.println("++++++++++++++++++++++++++++++++");
System.out.println("GET IP FOR EVENT");
System.out.println(logParser.execute("get ip for event = \"[any_event]\" and date between \"[after]\" and \"[before]\""));
System.out.println(logParser.execute("get ip for event = \"WRITE_MESSAGE\" and date between \"[after]\" and \"[before]\""));
System.out.println(logParser.execute("get ip for event = \"WRITE_MESSAGE\" and date between \"11.12.2013 0:00:00\" and \"03.01.2014 23:59:59\""));
System.out.println(logParser.execute("get ip for event = \"[any_event]\" and date between \"11.12.2013 0:00:00\" and \"03.01.2014 23:59:59\""));
System.out.println("??????????????????????????????????????????");
System.out.println("GET IP FOR STATUS");
System.out.println(logParser.execute("get ip for status = \"[any_event]\" and date between \"[after]\" and \"[before]\""));
System.out.println(logParser.execute("get ip for status = \"FAILED\" and date between \"[after]\" and \"[before]\""));
System.out.println(logParser.execute("get ip for status = \"OK\" and date between \"11.12.2013 0:00:00\" and \"03.01.2014 23:59:59\""));
System.out.println(logParser.execute("get ip for status = \"[any_event]\" and date between \"11.12.2013 0:00:00\" and \"03.01.2014 23:59:59\""));
}
}