类 TimeZoneEditor
- java.lang.Object
- java.beans.PropertyEditorSupport
- org.springframework.beans.propertyeditors.TimeZoneEditor
- 所有已实现的接口:
PropertyEditor
public class TimeZoneEditor extends PropertyEditorSupport
Editor forjava.util.TimeZone, translating timezone IDs intoTimeZoneobjects. Exposes theTimeZoneID as a text representation.- 从以下版本开始:
- 3.0
- 作者:
- Juergen Hoeller, Nicholas Williams
- 另请参阅:
TimeZone,ZoneIdEditor
构造器概要
构造器 构造器 说明 TimeZoneEditor()
构造器详细资料
TimeZoneEditor
public TimeZoneEditor()
方法详细资料
setAsText
public void setAsText(String text) throws IllegalArgumentException
- 指定者:
setAsText在接口中PropertyEditor- 覆盖:
setAsText在类中PropertyEditorSupport- 抛出:
IllegalArgumentException
getAsText
public String getAsText()
- 指定者:
getAsText在接口中PropertyEditor- 覆盖:
getAsText在类中PropertyEditorSupport