LocalDate dateOfConception = ...
LocalDate startOfThirdTrimester = dateOfConception.plusWeeks(28);

LocalDate testDate = ...
if (testDate.isBefore(startOfThirdTrimester)) {
 ...
}

Stephen

On 23/11/06, Richard HALLIER <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'd like to know if joda-time can :
> - tell me if a LocalDate is in the 3rd trimester ?
> - give me the first day of the trimester in which a LocalDate is set ?
> Thank you.
> Richard
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Joda-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to