Jump to content
Changes to the Jaspersoft community edition download ×


Recommended Posts

By: Manuel Garcí¡- m_garciaj


2003-08-12 16:34

How can I use diferent classes in iReport 0.2.1?


I need to show a date pattern like this dd/MM/yyyy.


At first time i used the toLocaleString() method, but this method has deprecated.


This could be a problem for my reports in the future, i´m designing reports for a big project.


I found a class (Format) such allow show that kind of patterns.


I hope anyone can help me.





By: G᢯r M󣺡r - moczar

RE: Classes

2003-08-13 03:30

Hi Manuel!


You can format time, date, timestamp and number fields by using the pattern box at the desired text field.


Jasperreports uses SimpleDateFormat and DecimalFormat classes to format the above mentioned fields. You can check the available formatting symbols in Java docs.


You have to type dd/MM/yyyy into the pattern field. And that's it.



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...