How can I find the most recent month end date with Joda time?

Posted by ppTaylor on Stack Overflow See other posts from Stack Overflow or by ppTaylor
Published on 2010-06-14T11:34:51Z Indexed on 2010/06/14 11:42 UTC
Read the original article Hit count: 216

Filed under:
|

Say a month end date is the date in a month which is the last non-weekend and non-holiday day in that month. How can I find the most recent past month end date with Joda time? For example, the answer for today would be Friday 28th May because that was May's month end and May was the most recent month to end.

© Stack Overflow or respective owner

Related posts about java

Related posts about datetime