{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class PickerActions
Espresso action for interacting with DatePicker and TimePicker.
| See also | |
|---|---|
<a href="http://developer.android.com/guide/topics/ui/controls/pickers.html">Pickers API |
guide |
Public constructors |
|
|---|---|
Public methods |
|
|---|---|
static ViewAction |
setDate(int year, int monthOfYear, int dayOfMonth)Returns a |
static ViewAction |
setTime(int hours, int minutes)Returns a |
public static ViewAction setDate(int year, int monthOfYear, int dayOfMonth)
Returns a ViewAction that sets a date on a DatePicker.
public static ViewAction setTime(int hours, int minutes)
Returns a ViewAction that sets a time on a TimePicker.