Main.java:6: error: package org.joda.time does not exist
import org.joda.time.LocalDateTime;
^
Main.java:7: error: package org.joda.time does not exist
import org.joda.time.Period;
^
Main.java:8: error: package org.joda.time does not exist
import org.joda.time.PeriodType;
^
Main.java:16: error: cannot find symbol
SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
^
symbol: class SimpleDateFormat
location: class Ideone
Main.java:16: error: cannot find symbol
SimpleDateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
^
symbol: class SimpleDateFormat
location: class Ideone
Main.java:22: error: cannot find symbol
cal.setTime(convertedDateA);
^
symbol: variable cal
location: class Ideone
Main.java:23: error: cannot find symbol
timeInMillA = cal.getTimeInMillis();
^
symbol: variable timeInMillA
location: class Ideone
Main.java:23: error: cannot find symbol
timeInMillA = cal.getTimeInMillis();
^
symbol: variable cal
location: class Ideone
Main.java:27: error: cannot find symbol
cal.setTime(convertedDateB);
^
symbol: variable cal
location: class Ideone
Main.java:28: error: cannot find symbol
timeInMillB = cal.getTimeInMillis();
^
symbol: variable timeInMillB
location: class Ideone
Main.java:28: error: cannot find symbol
timeInMillB = cal.getTimeInMillis();
^
symbol: variable cal
location: class Ideone
Main.java:29: error: cannot find symbol
LocalDateTime startA = new LocalDateTime(timeInMillA);
^
symbol: class LocalDateTime
location: class Ideone
Main.java:29: error: cannot find symbol
LocalDateTime startA = new LocalDateTime(timeInMillA);
^
symbol: class LocalDateTime
location: class Ideone
Main.java:29: error: cannot find symbol
LocalDateTime startA = new LocalDateTime(timeInMillA);
^
symbol: variable timeInMillA
location: class Ideone
Main.java:30: error: cannot find symbol
LocalDateTime startB = new LocalDateTime(timeInMillB);
^
symbol: class LocalDateTime
location: class Ideone
Main.java:30: error: cannot find symbol
LocalDateTime startB = new LocalDateTime(timeInMillB);
^
symbol: class LocalDateTime
location: class Ideone
Main.java:30: error: cannot find symbol
LocalDateTime startB = new LocalDateTime(timeInMillB);
^
symbol: variable timeInMillB
location: class Ideone
Main.java:32: error: cannot find symbol
Period difference = new Period(startA, startB, PeriodType.days());
^
symbol: class Period
location: class Ideone
Main.java:32: error: cannot find symbol
Period difference = new Period(startA, startB, PeriodType.days());
^
symbol: class Period
location: class Ideone
Main.java:32: error: cannot find symbol
Period difference = new Period(startA, startB, PeriodType.days());
^
symbol: variable PeriodType
location: class Ideone
Main.java:35: error: cannot find symbol
difference = new Period(startA, startB, PeriodType.months());
^
symbol: class Period
location: class Ideone
Main.java:35: error: cannot find symbol
difference = new Period(startA, startB, PeriodType.months());
^
symbol: variable PeriodType
location: class Ideone
22 errors