You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Claude Brisson <cl...@savoirweb.com> on 2002/05/14 14:39:22 UTC

[Veltools] Proposed patch for the DateTool

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.

Sincerely,

CloD