Re: [smartweb-devel] Time... JODA
Brought to you by:
rlogiacco
From: Roberto Lo G. <rlo...@sm...> - 2007-11-08 15:29:26
|
I'm really tempted to provide such features through the SmartConfig library as they are need in many places and, in a certain way, they are related to applications configuration. 2007/11/8, Stefano V <st...@gm...>: > Put it in the core! > :-) > > I think it's a more logic solution. > Now we can also externalize the > EmailVerifierRegistrationHandler - parseParametricText > method ( and its dependencies) in an other utility class... What do you > think? > > good work! > > 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 whic= h > 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 browse= r. > > > 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 > > > > > ------------------------------------------------------------------------- > 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 > > |