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 intDATE
= 1; public static final intDATE_TIME
= 3; public static final intTIME
= 2; // public constructors publicDateField
(String label, int mode); publicDateField
(String label, int mode, TimeZone timeZone); // public instance methods public DategetDate
( ); public intgetInputMode
( ); public voidsetDate
(Date date); public voidsetInputMode
(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.