You could write your own converter, using SimpleDateFormat, if you wish.  I
would use the source code for some of the other converters as an example.

-----Original Message-----
From: Antony Paul [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 19, 2004 7:36 AM
To: [EMAIL PROTECTED]
Subject: [BeanUtils] Converting Date to String & String to Date.

Hi all,
    I am learning BeanUtils. Converting a String to a destination beans type
while copying properties is a nice feature. But is the reverse is possible.
It seems that when converting a Date to String it is calling its toString()
method. But I dont want this behaviour. I want to format this which is
required for presentation layer.  Is this possible ?. Does any one have
written a converter for this.

rgds
Antony Paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to