Hi guys,
what about using JodaTime library (Apache License 2.0) for dates [1] ?
Cheers,
Tommaso

[1] : http://joda-time.sourceforge.net/

2010/5/27 Reto Bachmann-Gmuer <[email protected]>

> Hi Tsuy
>
> I'm currently working of a new version of the scala support libraries.
> Currently bundles added after scala-support has been activated are not
> scanned for classes.
>
> I'm surprised you ned utility methods to convert dates, using
> lit.as[java.util.Date] you get a Date object which can be rendered
> using standard java DateFormatters.
>
> Cheers,
> reto
>
> On Thu, May 27, 2010 at 9:23 AM, Tsuyoshi Ito <[email protected]>
> wrote:
> > Hi there
> >
> > I created a date conversion utility class containing static methods which
> I try to use in my ScalaServerPages (ssp).
> >
> > When I render a ssp which uses the utility class I got the following
> error
> >
> > value clerezza is not a member of package org import
> > org.clerezza.cms.utils.DateUtils
> >
> > After restart the platform the ssp can be rendered. Do I have to restart
> always the platform when I use such classes in scala?
> >
> > If yes, are there any alernatives beside creating a utility class in
> scala.
> >
> >
> > Thanks
> > Cheers
> > Tsuy
> >
> >
> >
> >
> >
> >
> >
>

Reply via email to