Is it possible to somehow set the persian calendar to the default calendar?
ie so new java.util.Date().toString() would return the persian date?
I am asking since I would like to be able to use persian dates from within freemarker (www.freemarker.org) and this would simplify.
Or do you have any other suggestions how to use persian dates & formatting from within freemarker?
The only solution I can come up with so far is to create a call out like "givePersianDate(Date date)" etc but that is really a hack that will only support persian dates and no other calendars...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to somehow set the persian calendar to the default calendar?
ie so new java.util.Date().toString() would return the persian date?
I am asking since I would like to be able to use persian dates from within freemarker (www.freemarker.org) and this would simplify.
Or do you have any other suggestions how to use persian dates & formatting from within freemarker?
The only solution I can come up with so far is to create a call out like "givePersianDate(Date date)" etc but that is really a hack that will only support persian dates and no other calendars...