Java android.widget DatePicker fields, constructors, methods, implement or subclass

Example usage for Java android.widget DatePicker fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget DatePicker.

The text is from its open source code.

Constructor

Method

ClassgetClass()
Returns the runtime class of this Object .
intgetDayOfMonth()
intgetMonth()
intgetYear()
voidinit(int year, int monthOfYear, int dayOfMonth, OnDateChangedListener onDateChangedListener)
Initialize the state.
voidsetCalendarViewShown(boolean shown)
Sets whether the CalendarView is shown.
voidsetMaxDate(long maxDate)
Sets the maximal date supported by this DatePicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.
voidsetMinDate(long minDate)
Sets the minimal date supported by this NumberPicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.
voidsetSpinnersShown(boolean shown)
Sets whether the spinners are shown.
voidupdateDate(int year, int month, int dayOfMonth)
Update the current date.