[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3089) Provide a list of world time zones
Shane Bryzak (JIRA)
jira-events at lists.jboss.org
Mon Sep 22 17:46:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12430697#action_12430697 ]
Shane Bryzak commented on JBSEAM-3089:
--------------------------------------
Would something like this work?
@Factory("timezones")
public List<String> getTimezones()
{
if (timezones == null)
{
timezones = Arrays.asList(TimeZone.getAvailableIDs());
Collections.sort(timezones, new Comparator<String>() {
public int compare(String value1, String value2)
{
return value1.compareTo(value2);
}
});
}
return timezones;
}
> Provide a list of world time zones
> ----------------------------------
>
> Key: JBSEAM-3089
> URL: https://jira.jboss.org/jira/browse/JBSEAM-3089
> Project: Seam
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 2.1.0.A1
> Reporter: Dan Allen
> Priority: Minor
> Fix For: The future
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> Many projects need to be able to display a list of time zones. However, there is no good way to do this in Java. It would be great if Seam provided a good enough for the common project list in one of the international components. The project could always maintain its own list if this one doesn't suffice.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list