From: SourceForge.net <no...@so...> - 2007-06-12 07:09:30
|
Bugs item #1735525, was opened at 2007-06-12 17:09 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1735525&group_id=15494 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mike Harris (eharmic) Assigned to: Nobody/Anonymous (nobody) Summary: Ability to set custom calendar for DateTickUnit Initial Comment: The current DateTickUnit implementation uses Calendar.getInstance() to get a locale dependant calendar based on the user's Locale. It is not possible to influence this. This is not always what you want. In my case I wanted to use a Calendar that would enforce the ISO8601 definition of week numbering, so I had to specify a calendar. The attached patch allows the caller to set the calendar that is to be used via a new public method setCalendar(). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=115494&aid=1735525&group_id=15494 |