spring-framework / org.springframework.beans.propertyeditors / TimeZoneEditor

TimeZoneEditor

open class TimeZoneEditor : PropertyEditorSupport

Editor for java.util.TimeZone, translating timezone IDs into TimeZone objects. Exposes the TimeZone ID as a text representation.

Author
Juergen Hoeller

Author
Nicholas Williams

Since
3.0

See Also
java.util.TimeZoneZoneIdEditor

Constructors

<init>

TimeZoneEditor()

Editor for java.util.TimeZone, translating timezone IDs into TimeZone objects. Exposes the TimeZone ID as a text representation.

Functions

getAsText

open fun getAsText(): String

setAsText

open fun setAsText(text: String): Unit