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
If you want JVM forwards compatibility, then use Calendar.
If you want GWT compatibility, then use java.util.Date and ignore the
warnings: your code doesn't run in a JVM, what matters is what GWT
understands. You can alternatively use
Thank you! JsDate worked perfectly.
Maybe I am too picky but I don't like using deprecated methods and
neither suppress warning tags.
Thank you.
On 3 feb, 10:17, Thomas Broyer t.bro...@gmail.com wrote:
If you want JVM forwards compatibility, then use Calendar.
If you want GWT compatibility,
I think you will find that you are not alone in your opinion regarding using
deprecated methods and that you are in fact in good company.
On Thu, Feb 3, 2011 at 7:35 AM, kkpirri hkakashisharin...@gmail.com wrote:
Thank you! JsDate worked perfectly.
Maybe I am too picky but I don't like using
Indeed. The alternative of sending all date operations to the server
is ... incredibly inconvenient at best.
-Ben
On Feb 3, 7:20 am, Jeff Schwartz jefftschwa...@gmail.com wrote:
I think you will find that you are not alone in your opinion regarding using
deprecated methods and that you are in
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
Ignore the deprecation warnings.
On Feb 2, 8:25 am, kkpirri hkakashisharin...@gmail.com 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