@@ -0,0 +1,497 @@
+package leetcode;%0A%0Aimport java.time.LocalDate;%0A%0Apublic class Task1154 %7B%0A    public static void main(String%5B%5D args) %7B%0A        System.out.println(new Task1154().dayOfYear(%222019-01-09%22));%0A        System.out.println(new Task1154().dayOfYear(%222019-02-10%22));%0A        System.out.println(new Task1154().dayOfYear(%222003-03-01%22));%0A        System.out.println(new Task1154().dayOfYear(%222004-03-01%22));%0A    %7D%0A%0A    public int dayOfYear(String date) %7B%0A        return LocalDate.parse(date).getDayOfYear();%0A    %7D%0A%7D%0A

Add Task1154