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 inherited from class org.robolectric.shadows.ShadowDialog
title
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
__constructor__
(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, Calendar calendar, int year, int monthOfYear, int dayOfMonth) int
int
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
-
realDatePickerDialog
-
-
Constructor Details
-
ShadowDatePickerDialog
public ShadowDatePickerDialog()
-
-
Method Details
-
__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
-