FileDocCategorySizeDatePackage
DateKeyListener.javaAPI DocAndroid 1.5 API1570Wed May 06 22:41:56 BST 2009android.text.method

DateKeyListener

public class DateKeyListener extends NumberKeyListener
For entering dates in a text field.

Fields Summary
public static final char[]
CHARACTERS
The characters that are used.
private static DateKeyListener
sInstance
Constructors Summary
Methods Summary
protected char[]getAcceptedChars()

        return CHARACTERS;
    
public intgetInputType()

        return InputType.TYPE_CLASS_DATETIME
                | InputType.TYPE_DATETIME_VARIATION_DATE;
    
public static android.text.method.DateKeyListenergetInstance()

        if (sInstance != null)
            return sInstance;

        sInstance = new DateKeyListener();
        return sInstance;