public static class DatePickerDialog.Builder extends Dialog.Builder implements DatePickerDialog.OnDateChangedListener
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<DatePickerDialog.Builder> |
CREATOR |
protected int |
mDay |
protected int |
mMaxDay |
protected int |
mMaxMonth |
protected int |
mMaxYear |
protected int |
mMinDay |
protected int |
mMinMonth |
protected int |
mMinYear |
protected int |
mMonth |
protected int |
mYear |
mContentViewId, mDialog, mNegative, mNeutral, mPositive, mStyleId, mTitle| Modifier | Constructor and Description |
|---|---|
|
DatePickerDialog.Builder() |
|
DatePickerDialog.Builder(int styleId) |
|
DatePickerDialog.Builder(int minDay,
int minMonth,
int minYear,
int maxDay,
int maxMonth,
int maxYear,
int day,
int month,
int year) |
|
DatePickerDialog.Builder(int styleId,
int minDay,
int minMonth,
int minYear,
int maxDay,
int maxMonth,
int maxYear,
int day,
int month,
int year) |
protected |
DatePickerDialog.Builder(android.os.Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
Dialog.Builder |
contentView(int layoutId) |
DatePickerDialog.Builder |
date(int day,
int month,
int year) |
DatePickerDialog.Builder |
date(long time) |
DatePickerDialog.Builder |
dateRange(int minDay,
int minMonth,
int minYear,
int maxDay,
int maxMonth,
int maxYear) |
DatePickerDialog.Builder |
dateRange(long minTime,
long maxTime) |
int |
getDay() |
int |
getMonth() |
int |
getYear() |
protected Dialog |
onBuild(android.content.Context context,
int styleId) |
void |
onDateChanged(int oldDay,
int oldMonth,
int oldYear,
int newDay,
int newMonth,
int newYear) |
protected void |
onReadFromParcel(android.os.Parcel in) |
protected void |
onWriteToParcel(android.os.Parcel dest,
int flags) |
build, describeContents, negativeAction, neutralAction, onNegativeActionClicked, onNeutralActionClicked, onPositiveActionClicked, positiveAction, style, title, writeToParcelprotected int mMinDay
protected int mMinMonth
protected int mMinYear
protected int mMaxDay
protected int mMaxMonth
protected int mMaxYear
protected int mDay
protected int mMonth
protected int mYear
public static final android.os.Parcelable.Creator<DatePickerDialog.Builder> CREATOR
public DatePickerDialog.Builder()
public DatePickerDialog.Builder(int styleId)
public DatePickerDialog.Builder(int minDay,
int minMonth,
int minYear,
int maxDay,
int maxMonth,
int maxYear,
int day,
int month,
int year)
public DatePickerDialog.Builder(int styleId,
int minDay,
int minMonth,
int minYear,
int maxDay,
int maxMonth,
int maxYear,
int day,
int month,
int year)
protected DatePickerDialog.Builder(android.os.Parcel in)
public DatePickerDialog.Builder dateRange(int minDay, int minMonth, int minYear, int maxDay, int maxMonth, int maxYear)
public DatePickerDialog.Builder dateRange(long minTime, long maxTime)
public DatePickerDialog.Builder date(int day, int month, int year)
public DatePickerDialog.Builder date(long time)
public int getDay()
public int getMonth()
public int getYear()
public Dialog.Builder contentView(int layoutId)
contentView in class Dialog.Builderprotected Dialog onBuild(android.content.Context context, int styleId)
onBuild in class Dialog.Builderpublic void onDateChanged(int oldDay,
int oldMonth,
int oldYear,
int newDay,
int newMonth,
int newYear)
onDateChanged in interface DatePickerDialog.OnDateChangedListenerprotected void onReadFromParcel(android.os.Parcel in)
onReadFromParcel in class Dialog.Builderprotected void onWriteToParcel(android.os.Parcel dest,
int flags)
onWriteToParcel in class Dialog.Builder