Re: [smartweb-devel] Time... JODA
Brought to you by:
rlogiacco
From: Pino C. <gco...@gm...> - 2007-11-08 23:44:14
|
Uhmmm.. Hello Roberto, I can not understand the context of this issue accordingly .= . I can not express my opinion about it. Could you state the problem in a mor= e understandable way.. so that even those who are not inside can answer for you? Thanks Roberto Lo Giacco-4 wrote: >=20 > Hurr=C3=A0! i finally had some time to spend on programming (many months > have passed since my last execution of the Eclipse environment) and > I've produced a simple class which can solve our DateTimeHandler > problem in a very easy way using CRON syntax (some examples here > http://www.adminschoice.com/docs/crontab.htm#Example). >=20 > The class exposes one constructor accepting a cron-like String as > parameter and an additional (and overloaded) check method which > compares the pattern to a Date or Calendar and returns true or false > depending if the date/time matches the pattern. >=20 > I've tested it and it works well but now we must decide where to place > it. Possible candidates are: >=20 > - into core library to make it available everywhere > - as Inner Class of DateTimeHandler as this is the only place where it is > needed > - into SmartConfig to make it available everywhere SmartConfig is used >=20 > Suggestions? >=20 >=20 > 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 a= n >> 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 >> >=20 > ------------------------------------------------------------------------- > 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 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Time...-JODA-tf4760551s= 17546.html#a13658472 Sent from the SmartWeb Developers mailing list archive at Nabble.com. |