Package org.robolectric.shadows
Class ShadowDatePickerDialog
java.lang.Object
org.robolectric.shadows.ShadowDialog
org.robolectric.shadows.ShadowAlertDialog
org.robolectric.shadows.ShadowDatePickerDialog
@Implements(android.app.DatePickerDialog.class) public class ShadowDatePickerDialog extends ShadowAlertDialog
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowAlertDialog
ShadowAlertDialog.ShadowBuilder
-
Field Summary
Fields Modifier and Type Field Description protected DatePickerDialog
realDatePickerDialog
-
Constructor Summary
Constructors Constructor Description ShadowDatePickerDialog()
-
Method Summary
Modifier and Type Method Description protected void
__constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth)
protected void
__constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, Calendar calendar, int year, int monthOfYear, int dayOfMonth)
Calendar
getCalendar()
int
getDayOfMonth()
int
getMonthOfYear()
DatePickerDialog.OnDateSetListener
getOnDateSetListenerCallback()
int
getYear()
Methods inherited from class org.robolectric.shadows.ShadowAlertDialog
clickOnItem, getAdapter, getCustomTitleView, getCustomView, getIconId, getItems, getLatestAlertDialog, getMessage, getTitle, getView, reset, show
Methods inherited from class org.robolectric.shadows.ShadowDialog
callOnCreate, clickOn, clickOnText, clickOnText, dismiss, getLatestDialog, getOnCancelListener, getShownDialogs, hasBeenDismissed, isCancelable, isCancelableOnTouchOutside, setCanceledOnTouchOutside, setLatestDialog, setOnCancelListener
-
Field Details
-
Constructor Details
-
ShadowDatePickerDialog
public ShadowDatePickerDialog()
-
-
Method Details
-
__constructor__
@Implementation(maxSdk=23) protected void __constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) -
__constructor__
@Implementation(minSdk=24) protected void __constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, Calendar calendar, int year, int monthOfYear, int dayOfMonth) -
getCalendar
-
getYear
public int getYear() -
getMonthOfYear
public int getMonthOfYear() -
getDayOfMonth
public int getDayOfMonth() -
getOnDateSetListenerCallback
-