Isn't there a better solution? I don't like ignoring deprecations
because doing that in the future my application won't work. I want to
make it compatible with future JVM versions.

I am thinking in calculating it with a Javscript script. I would
prefer to do it in Java but I think it's a better solution than
ignoring deprecations.

Thank you for your response.


On 2 feb, 17:29, Jim Douglas <[email protected]> wrote:
> Ignore the deprecation warnings.
>
> On Feb 2, 8:25 am, kkpirri <[email protected]> wrote:
>
> > Hi,
>
> > ¿How can I calculate the age of a person using a Date object with his
> > birth date and the current date in GWT's client side?
>
> > I need the age in years and moths (for example, 8 years and 3 moths),
> > but it cannot be used a Calendar object and I don't know how to
> > retrieve the year and moth from the Date objects since almost every
> > methods are deprecated.
>
> > Thank you.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to