Main.java:7: error: class Test1 is public, should be declared in a file named Test1.java
public class Test1 {
^
Main.java:2: error: package org.joda.time does not exist
import org.joda.time.DateTime;
^
Main.java:3: error: package org.joda.time does not exist
import org.joda.time.DateTimeZone;
^
Main.java:4: error: package org.joda.time.format does not exist
import org.joda.time.format.DateTimeFormat;
^
Main.java:5: error: package org.joda.time.format does not exist
import org.joda.time.format.DateTimeFormatter;
^
Main.java:9: error: cannot find symbol
private static final DateTimeFormatter DATE_TIME_FORMAT =
^
symbol: class DateTimeFormatter
location: class Test1
Main.java:10: error: cannot find symbol
DateTimeFormat.forPattern("yyyyMMdd-HH:mm:ss");
^
symbol: variable DateTimeFormat
location: class Test1
Main.java:14: error: cannot find symbol
DateTime test = DateTime.parse("2019-123");
^
symbol: class DateTime
location: class Test1
Main.java:14: error: cannot find symbol
DateTime test = DateTime.parse("2019-123");
^
symbol: variable DateTime
location: class Test1
9 errors