Interface DateField

All Superinterfaces:
CanBeCustomField, CanRender<Renderer<? extends Renderer<?>>>, Field, ScalarField<Date>
All Known Subinterfaces:
UpdatableDateField

public interface DateField extends ScalarField<Date>, CanBeCustomField
Since:
3.9.0
  • Method Details

    • asString

      @NotNull String asString()
      Never throws exception when user cannot read the field, or the object is unresolvable. Same as ScalarField.getIfCan()
      Returns:
      the value formatted as String. Never returns null.
    • render

      @NotNull DateFieldRenderer render()
      Description copied from interface: Field
      This method can be used also when the parent object is unresolvable or user has no permission to access. In both cases the method will just render nothing and not throw any exceptions.
      Specified by:
      render in interface CanRender<Renderer<? extends Renderer<?>>>
      Specified by:
      render in interface Field