Re: [smartweb-devel] Time... JODA
Brought to you by:
rlogiacco
From: Giuseppe C. <gco...@gm...> - 2007-11-08 22:56:16
|
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 2007/11/8, Roberto Lo Giacco <rlo...@sm...>: > > Hurr=E0! 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). > > 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. > > I've tested it and it works well but now we must decide where to place > it. Possible candidates are: > > - 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 > > Suggestions? > > > 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 > > > > ------------------------------------------------------------------------- > 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 > |