You have looked at Scala Time, right? I think some of this may already be implemented there, and it would probably be better to extend that rather than reinvent it. But maybe I'm thinking about something else?
http://github.com/jorgeortiz85/scala-time Chas. Derek Chen-Becker wrote: > Oh, I plan on incorporating the DSL. My thought was that JodaHelpers > would define most of the same methods as TimeHelpers, just operating on > DateTime instead of Date and Calendar. Then you could do > > import ...Helpers._ > import ...JodaHelpers._ > > and the latter import would mask the TimeHelpers methods. Or you could > just import JodaHelpers by itself. Actually, Joda Time has some very > nice facilities for doing intervals that would simplify the DSLs a lot > and possibly make it richer. > > Derek > > On Thu, Oct 15, 2009 at 7:19 PM, David Pollak > <[email protected] <mailto:[email protected]>> > wrote: > > I personally like the DSLs that TimeHelpers provides. I'd hate to > see it deprecated or go away without the ability to write 30 seconds > later using some other DSL. > > > On Thu, Oct 15, 2009 at 5:22 PM, Derek Chen-Becker > <[email protected] <mailto:[email protected]>> wrote: > > Well, actually, maybe I'll just make a JodaHelpers with the > applicable methods on it and we can just deprecate the entire > TimeHelpers object. If anyone else has a better idea I'm all ears. > > Derek > > > On Thu, Oct 15, 2009 at 5:22 PM, Derek Chen-Becker > <[email protected] <mailto:[email protected]>> wrote: > > OK, will do. > > > On Thu, Oct 15, 2009 at 5:18 PM, David Pollak > <[email protected] > <mailto:[email protected]>> wrote: > > I'd prefer not the break the apis without deprecating > them first > > > On Thu, Oct 15, 2009 at 4:09 PM, Derek Chen-Becker > <[email protected] <mailto:[email protected]>> > wrote: > > Just asking, since I'm looking at bolting a lot of > java.util.Date methods onto the innards of > TimeHelpers so that the specs pass. > > Derek > > > > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Surf the harmonics > > > > > > > > > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Surf the harmonics > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
