I swear that I ONLY use it to compare "if things are older than other things". I think comparison of long values is faster than string or date comparison, or?

thanks.

On Fri, Feb 26, 2010 at 10:52 AM, Hannes <hannes.flo...@gmx.li <mailto:hannes.flo...@gmx.li>> wrote:

    THANKS!

    You saved my weekend....


You're welcome.
On the other hand.... using a Long as a date terrifies me, and makes me think your weekend, and the next three are all toast... but, maybe not.......




    On Fri, Feb 26, 2010 at 10:43 AM, Hannes <hannes.flo...@gmx.li
    <mailto:hannes.flo...@gmx.li>> wrote:

        Jim,

        Thanks that helped!

        Maybe its to late, or I don't know what, but.....

        Its a bit complicated to use I think. What's about
        scala-time? For my purpose, I just need the the time as a
        number (e.g. long). How do I do that?


    java.util.Date will give it to you.

        thanks.

        In what fashion do you mean integrate?
        Adding this:
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
            <version>1.6</version>

        </dependency>
         to the dependency section to your maven POM will bring in
        the jar files.

        On Fri, Feb 26, 2010 at 10:14 AM, Hannes
        <hannes.flo...@gmx.li <mailto:hannes.flo...@gmx.li>> wrote:

            Hi Peter,

            I read your mail, maybe you can help me. I'm wondering
            how I can integrate JodaTime or scala-time into my project.

            thanks.
            Hannes

                This is more a question for Jorge than anyone else
                but since it's Lift-
                related I thought I'd put it here:

                What's the easiest way to add scala-tools to my Lift
                project's
                pom.xml? My knowledge of Maven is very limited, but
                I hope that it is
                simply a matter of adding another repository and
                dependency.

                Thanks,
                Peter Robinett

                --

                You received this message because you are subscribed
                to the Google Groups "Lift" group.
                To post to this group, send email to
                liftweb@googlegroups.com
                <mailto:liftweb@googlegroups.com>.
                To unsubscribe from this group, send email to
                liftweb+unsubscr...@googlegroups.com
                <mailto:liftweb%2bunsubscr...@googlegroups.com>.
                For more options, visit this group at
                http://groups.google.com/group/liftweb?hl=.



-- You received this message because you are subscribed to
            the Google Groups "Lift" group.
            To post to this group, send email to
            liftweb@googlegroups.com <mailto:liftweb@googlegroups.com>.
            To unsubscribe from this group, send email to
            liftweb+unsubscr...@googlegroups.com
            <mailto:liftweb%2bunsubscr...@googlegroups.com>.
            For more options, visit this group at
            http://groups.google.com/group/liftweb?hl=en.




-- James A Barrows

-- You received this message because you are subscribed to the
        Google Groups "Lift" group.
        To post to this group, send email to
        liftweb@googlegroups.com <mailto:liftweb@googlegroups.com>.
        To unsubscribe from this group, send email to
        liftweb+unsubscr...@googlegroups.com
        <mailto:liftweb+unsubscr...@googlegroups.com>.
        For more options, visit this group at
        http://groups.google.com/group/liftweb?hl=en.

-- You received this message because you are subscribed to the
        Google Groups "Lift" group.
        To post to this group, send email to liftweb@googlegroups.com
        <mailto:liftweb@googlegroups.com>.
        To unsubscribe from this group, send email to
        liftweb+unsubscr...@googlegroups.com
        <mailto:liftweb%2bunsubscr...@googlegroups.com>.
        For more options, visit this group at
        http://groups.google.com/group/liftweb?hl=en.




-- James A Barrows

-- You received this message because you are subscribed to the
    Google Groups "Lift" group.
    To post to this group, send email to liftweb@googlegroups.com
    <mailto:liftweb@googlegroups.com>.
    To unsubscribe from this group, send email to
    liftweb+unsubscr...@googlegroups.com
    <mailto:liftweb+unsubscr...@googlegroups.com>.
    For more options, visit this group at
    http://groups.google.com/group/liftweb?hl=en.

-- You received this message because you are subscribed to the Google
    Groups "Lift" group.
    To post to this group, send email to liftweb@googlegroups.com
    <mailto:liftweb@googlegroups.com>.
    To unsubscribe from this group, send email to
    liftweb+unsubscr...@googlegroups.com
    <mailto:liftweb%2bunsubscr...@googlegroups.com>.
    For more options, visit this group at
    http://groups.google.com/group/liftweb?hl=en.




--
James A Barrows

--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to