File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes quarterly dateformat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "quarterly dateformat" Watch "quarterly dateformat" New topic
Author

quarterly dateformat

jeroen dijkmeijer
Ranch Hand

Joined: Sep 26, 2003
Posts: 131
Hi I'm wondering is there a way to easily display quarterly date format, (20070331-> 1,20070401->2) or should i subclass DateFormat just to display a single quarter? (I only would need the yyyy / yy & q)

regards,
Jeroen.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: quarterly dateformat
 
Similar Threads
Doubt in formatting date
Get the Difference between 2 dates
Problem with Calendar().getTime()
date time conversion
Setting Initial Value In JFreeChart