Thanks

On Thu, Jul 9, 2009 at 6:44 AM, John Krasnay <[email protected]> wrote:

> Sorry, I don't know much about Date[Time]Field. Just trying to save you
> a few LoC.
>
> jk
>
> On Wed, Jul 08, 2009 at 01:35:13PM -0700, Fernando Wermus wrote:
> > 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus

Reply via email to