thanks for the tip. Is there some way to solve what I commented?

On Wed, Jul 8, 2009 at 1:25 PM, John Krasnay <[email protected]> wrote:

> On Wed, Jul 08, 2009 at 01:16:19PM -0700, Fernando Wermus wrote:
> >         Date minDate = new DateTime().plusDays(1).toDate();
> >         SimpleDateFormat format = new SimpleDateFormat("MM/dd/yyyy");
> >         widgetProperties.put("mindate", format.format(minDate));
>
> FYI with Joda Time this can be reduced to this...
>
>  widgetProperties.put("mindate",
>    new DateTime().plusDays(1).toString("MM/dd/yyyy"));
>
> jk
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus

Reply via email to