Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.international
Class TimeZones

    java.lang.Object
      org.jboss.seam.international.TimeZones

    @Scope(value=APPLICATION)
    @Name(value="org.jboss.seam.international.timeZones")
    public class TimeZones

extends Object

Seam component that provides a list of time zones, limited to time zones with IDs in the form Continent/Place, excluding deprecated three-letter time zone IDs. The time zones returned have a fixed offset from UTC, which takes daylight savings time into account. For example, Europe/Amsterdam is UTC+1; in winter this is GMT+1 and in summer GMT+2.

The time zone objects returned are wrapped in an implementation of TimeZone that provides a more friendly interface for accessing the time zone information. In particular, this type provides a more bean-friend property for the time zone id (id than ID) and provides a convenience property named label that formats the time zone for display in the UI. This wrapper can be disabled by setting the component property wrap to false.

Author:
  Peter Hilton, Lunatech Research, Dan Allen

Constructor Summary
`TimeZones()`

Method Summary
`List<TimeZone>` | `getTimeZones()`
`void` | `init()`
`boolean` | `isWrap()`
`void` | `setWrap(boolean wrap)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TimeZones

    public TimeZones()

Method Detail

### init

    @Create
    public void init()

### getTimeZones

    @Unwrap
    public List<TimeZone> getTimeZones()

### isWrap

    public boolean isWrap()

### setWrap

    public void setWrap(boolean wrap)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.