>> And even better as:
>>
>> public boolean isAfterPayDay(DateTime datetime) {
>>
>> return datetime.getDayOfMonth() > datetime.getDaysInMonth() - 2;
>> }
>
> I think you've changed the logic here (in leap years) :-)
Not just in leap years, but also in months with 31 days :)
- Adam
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest