当前页面:
在线文档首页 >
JBoss Seam 1.1.0 bate1 API 英文版文档
TimeZoneSelector (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档
org.jboss.seam.core
Class TimeZoneSelector
java.lang.Object
org.jboss.seam.core.AbstractMutable
org.jboss.seam.core.TimeZoneSelector
- All Implemented Interfaces:
- Serializable, Mutable
@Scope(value=SESSION)
@Name(value="timeZoneSelector")
@Intercept(value=NEVER)
public class TimeZoneSelector
- extends AbstractMutable
- implements Serializable
Selects the current user's time zone, defaulting
to the server time zone.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeZoneSelector
public TimeZoneSelector()
initTimeZone
@Create
public void initTimeZone()
select
public void select()
- Force the resource bundle to reload, using the current locale
setTimeZone
public void setTimeZone(TimeZone timeZone)
setTimeZoneId
public void setTimeZoneId(String id)
getTimeZoneId
public String getTimeZoneId()
getTimeZone
public TimeZone getTimeZone()
instance
public static TimeZoneSelector instance()
isCookieEnabled
public boolean isCookieEnabled()
setCookieEnabled
public void setCookieEnabled(boolean cookieEnabled)