Another option, if you are using Hibernate, is to plug in a custom type in
Hibernate that knows what to do. You can take a look at the Hibernate
subproject for the Joda-time project for guidance:
http://joda-time.sourceforge.net/contrib/hibernate/index.html
Mike
2008/7/7 Matt Raible <[EMAIL PROT
DateUtil is generally used for Date manipulation. This is available to
you if you've full-sourced your project.
Matt
On Mon, Jul 7, 2008 at 8:45 AM, pedro_burglin <[EMAIL PROTECTED]> wrote:
>
> Hi Ali,
>
> If you just want to convert the dates in the Data Access Object layer I
> think you just ne
Hi Ali,
If you just want to convert the dates in the Data Access Object layer I
think you just need to translate from Jalali date to Gregorian in your
entities' DAO implementation (e.g. CustomerDaoHibernate.java). You may need
to implement the methods save to translate from Jalali to Gregorian, a
Hi there,
I am developing a Persian-language site with AppFuse Struts 2 Archetype.
In web tier, users enter Jalali date but I want to convert these jalali
dates
to Gregorian date (java.util.Date) before saving them in database.
I have the algorithm and libraries to for conversion. Which classes