Package: org.grails.web.binding

## [Java] Class StructuredDateEditor

- org.grails.web.binding.StructuredDateEditor

- All Implemented Interfaces and Traits:
    StructuredPropertyEditor

      public class StructuredDateEditor
      extends org.springframework.beans.propertyeditors.CustomDateEditor
      implements StructuredPropertyEditor

  Structured editor for editing dates that takes 5 fields that represent the year, month, day, hour and minute and constructs a Date instance

  Authors:
    Graeme Rocher
  Since:
    1.0.4

- - ### Constructor Summary

    Constructors
    Constructor and description
    `StructuredDateEditor (java.text.DateFormat dateFormat, boolean b)`
    `StructuredDateEditor (java.text.DateFormat dateFormat, boolean b, int i)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public java.lang.Object` | `assemble(java.lang.Class type, java.util.Map fieldValues)`
    `` | `private int` | `getIntegerValue(java.util.Map values, java.lang.String name, int defaultValue)`
    `` | `public java.util.List<java.lang.String>` | `getOptionalFields()`
    `` | `public java.util.List<java.lang.String>` | `getRequiredFields()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class org.springframework.beans.propertyeditors.CustomDateEditor` | `org.springframework.beans.propertyeditors.CustomDateEditor#setAsText(java.lang.String), org.springframework.beans.propertyeditors.CustomDateEditor#getAsText(), org.springframework.beans.propertyeditors.CustomDateEditor#isPaintable(), org.springframework.beans.propertyeditors.CustomDateEditor#paintValue(java.awt.Graphics, java.awt.Rectangle), org.springframework.beans.propertyeditors.CustomDateEditor#getJavaInitializationString(), org.springframework.beans.propertyeditors.CustomDateEditor#supportsCustomEditor(), org.springframework.beans.propertyeditors.CustomDateEditor#firePropertyChange(), org.springframework.beans.propertyeditors.CustomDateEditor#removePropertyChangeListener(java.beans.PropertyChangeListener), org.springframework.beans.propertyeditors.CustomDateEditor#getCustomEditor(), org.springframework.beans.propertyeditors.CustomDateEditor#addPropertyChangeListener(java.beans.PropertyChangeListener), org.springframework.beans.propertyeditors.CustomDateEditor#setSource(java.lang.Object), org.springframework.beans.propertyeditors.CustomDateEditor#getTags(), org.springframework.beans.propertyeditors.CustomDateEditor#getSource(), org.springframework.beans.propertyeditors.CustomDateEditor#getValue(), org.springframework.beans.propertyeditors.CustomDateEditor#setValue(java.lang.Object), org.springframework.beans.propertyeditors.CustomDateEditor#wait(long), org.springframework.beans.propertyeditors.CustomDateEditor#wait(long, int), org.springframework.beans.propertyeditors.CustomDateEditor#wait(), org.springframework.beans.propertyeditors.CustomDateEditor#equals(java.lang.Object), org.springframework.beans.propertyeditors.CustomDateEditor#toString(), org.springframework.beans.propertyeditors.CustomDateEditor#hashCode(), org.springframework.beans.propertyeditors.CustomDateEditor#getClass(), org.springframework.beans.propertyeditors.CustomDateEditor#notify(), org.springframework.beans.propertyeditors.CustomDateEditor#notifyAll()`

- - ### Constructor Detail

    - #### public StructuredDateEditor(java.text.DateFormat dateFormat, boolean b)

    - #### public StructuredDateEditor(java.text.DateFormat dateFormat, boolean b, int i)

  - ### Method Detail

    - #### @java.lang.SuppressWarnings("rawtypes") public java.lang.Object assemble(java.lang.Class type, java.util.Map fieldValues)

    - #### @java.lang.SuppressWarnings("rawtypes") private int getIntegerValue(java.util.Map values, java.lang.String name, int defaultValue)

    - #### public java.util.List<java.lang.String> getOptionalFields()

    - #### public java.util.List<java.lang.String> getRequiredFields()