Class DateTimeInput<T extends DateTimeInput<T>>


@Deprecated public class DateTimeInput<T extends DateTimeInput<T>> extends Input<T>
Deprecated.
Use DateTimeLocalInput instead, as datetime is no longer supported by most browsers.
Represents an HTML5 <input type="datetime"> element for selecting date and time with timezone.

The DateTimeInput provides a date and time picker interface that includes timezone information. Note that this input type is deprecated in favor of DateTimeLocalInput.

Usage Example:


 DateTimeInput appointment = new DateTimeInput("appointment");
 form.addElement(appointment);
 
Since:
HTML5
Author:
Marvin P. Warble Jr.
See Also:
  • Constructor Details

    • DateTimeInput

      public DateTimeInput()
      Deprecated.
      Creates a new DateTimeInput with no name or initial value.
    • DateTimeInput

      public DateTimeInput(String name)
      Deprecated.
      Creates a new DateTimeInput with the specified name.
      Parameters:
      name - The name attribute for the input element, used for form submission.
    • DateTimeInput

      public DateTimeInput(String name, String value)
      Deprecated.
      Creates a new DateTimeInput with the specified name and initial value.
      Parameters:
      name - The name attribute for the input element, used for form submission.
      value - The initial datetime value.