velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claude Brisson" <>
Subject [Veltools] Proposed patch for the DateTool
Date Tue, 14 May 2002 12:39:22 GMT
Hi all.

Here is a proposed patch for DateTool : a new toDate(format,object) method that allows the
parsing of a date according to the
specified format.

The format is used only if the passed object is not of Date or Calendar type (hence expected
to be a String) : this is homogeneic
with the existing toDate(obj) method.



View raw message