类 ZoneIdEditor
- java.lang.Object
- java.beans.PropertyEditorSupport
- org.springframework.beans.propertyeditors.ZoneIdEditor
- 所有已实现的接口:
PropertyEditor
@UsesJava8 public class ZoneIdEditor extends PropertyEditorSupport
Editor forjava.time.ZoneId
, translating zone ID Strings intoZoneId
objects. Exposes theTimeZone
ID as a text representation.- 从以下版本开始:
- 4.0
- 作者:
- Nicholas Williams
- 另请参阅:
ZoneId
,TimeZoneEditor
构造器概要
构造器 构造器 说明 ZoneIdEditor()
构造器详细资料
ZoneIdEditor
public ZoneIdEditor()
方法详细资料
setAsText
public void setAsText(String text) throws IllegalArgumentException
- 指定者:
setAsText
在接口中PropertyEditor
- 覆盖:
setAsText
在类中PropertyEditorSupport
- 抛出:
IllegalArgumentException
getAsText
public String getAsText()
- 指定者:
getAsText
在接口中PropertyEditor
- 覆盖:
getAsText
在类中PropertyEditorSupport