Re: [smartweb-devel] Time... JODA
Brought to you by:
rlogiacco
From: Roberto Lo G. <rlo...@sm...> - 2007-11-07 01:58:28
|
For what I can see from the site documentation and the API javadoc I think this library doesn't support what we need as Period and interval are nothing like CRON. To be more precise I think the DateTimeHandler should express something like "allow this only if the day of the week is friday and time is between 8 AM and 6PM". This kind of sentence is a tipical CRON expression as in Jcrontab or Quartz which are jobschedulers and therefore much more than we need. In my opinion, if I'm right about JODA capabilities, it's not needed but I'm more than open to discussion. 2007/11/6, svetrini <st...@gm...>: > > I found a nice lib to manage java time and date in the opensource comunity. > This is JODA ( http://joda-time.sourceforge.net/ ) > I think it is usefuller than standard JDK class. > I tried to use it in Some example Handler inside the auth method. > exactly i used Period and Inteval to manage Time interval during which an > user is allowed to execute a login. > > Maybe an entire lib is too much, to use only this feature... > > What do you think about? > -- > View this message in context: http://www.nabble.com/Time...-JODA-tf4760551s17546.html#a13614454 > Sent from the SmartWeb Developers mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > smartweb-devel mailing list > sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartweb-devel > |