velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <>
Subject Re: [Vel-Tools] Converting a long return type into a formatted Date
Date Thu, 06 Jan 2005 20:39:53 GMT
Nathan Bubna <> wrote:
> in VTL, long and Long are the same.  have you tried just using
> DateTool.toDate(Long) with the long?

Just tried it, and it works fine.

I didn't realize that primitive types would convert like that inside nested 
method calls.  I figured (wrongly) that primitive-to-object conversions 
would only take place on the outer-most call when the value was actually 



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message