On 26/02/07, Frank Cornelis <[EMAIL PROTECTED]> wrote:
> Does joda-time has some support for cron-like expressions?

We have no such facility at present. It would make a good candidate
for a contributed extension project however.

Stephen



> Basically I would like to have a component with a method:
> DateTime result = cronCalculcator.getNextMatch(currentDateTime, "* 3 * *");
> and then 'result' would be the next datetime that matches the 
> cron-expression, in this case 3 o'clock at night.
> I know it's not this difficult to write it myself, but it would be nice if 
> joda-time could offer this component out of the box.
> Are there any plans to write such a component as part of joda-time?
>
> I need this to create a cron-like scheduler using the J2EE TimerService.

-------------------------------------------------------------------------
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