I am a newbie to java and android world, and I want to use ‘Period ‘ class of ‘jodo‘ project to calculate the differences between to dates.
I imported ‘joda-time-2.1.jar’ like what I read in this manual. It added a lot of pckages with white icon beside every package into ‘src’ folder. But when I want to use a code like the following :
Period p = new Period(startDate, endDate);
The eclipse ide cant recognize the ‘jodo’ package, and even if I type
import jodo.org.joda.time.*;
it will not help to make ‘Period’ recognizable for ide.
Regards.
i think this should recognize the Period class: