Name

javax.microedition.lcdui.DateField

Synopsis

This class implements an editable component for presenting calendar (date and time) information that may be placed in a form.

public classDateField extends Item {
   // public class fields
   public static final int DATE = 1;
   public static final int DATE_TIME = 3;
   public static final int TIME = 2;
   // public constructors
   public DateField(String label, int mode);
   public DateField(String label, int  mode, TimeZone timeZone);
   // public instance methods
   public Date getDate(  );
   public int getInputMode(  );
   public void setDate(Date date);
   public void setInputMode(int mode) throws IllegalArgumentException;
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.