Period for last day of month

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Period for last day of month

Jörg Schaible
Hi,

somehow I don't find a possibility to define a period for something like
"the last day of a month" or "the last day in February". Is this concept
missing in joda-time or did I overlook something?

- Jörg


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Joda-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/joda-interest
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Period for last day of month

jodastephen
These concepts don't really fit with Period. Joda-Time does know how
many days there are in a month, see the monthOfYear() method on
DateTime to see the available methods, one of which returns the number
of days.
Stephen

On 26 March 2012 15:02, Jörg Schaible <[hidden email]> wrote:

> Hi,
>
> somehow I don't find a possibility to define a period for something like
> "the last day of a month" or "the last day in February". Is this concept
> missing in joda-time or did I overlook something?
>
> - Jörg
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Joda-interest mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/joda-interest

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Joda-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/joda-interest
Loading...