DateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false)
name
- the name attribute of the generated HTML input element
format
- date/time format (default YYYY-MM-DD HH:mm)
label
- label text bound to the input element
rich
- determines if label can contain HTML code
Constructor