Summary: Methods | Inherited Methods | [Expand All]

# PickerActions

`public final class PickerActions`
`extends Object` ``

java.lang.Object
↳ | android.support.test.espresso.contrib.PickerActions

Espresso action for interacting with `DatePicker` and `TimePicker`.

See also:

- Pickers API guide

## Summary

### Public methods
`static ViewAction` | `setDate(int year, int monthOfYear, int dayOfMonth)` Returns a `ViewAction` that sets a date on a `DatePicker`.
`static ViewAction` | `setTime(int hours, int minutes)` Returns a `ViewAction` that sets a time on a `TimePicker`.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()`
`boolean` | `equals(Object arg0)`
`void` | `finalize()`
`final Class<?>` | `getClass()`
`int` | `hashCode()`
`final void` | `notify()`
`final void` | `notifyAll()`
`String` | `toString()`
`final void` | `wait(long arg0, int arg1)`
`final void` | `wait(long arg0)`
`final void` | `wait()`

## Public methods

### setDate

    ViewAction setDate (int year,
                    int monthOfYear,
                    int dayOfMonth)

Returns a `ViewAction` that sets a date on a `DatePicker`.

Parameters
`year` | `int`
`monthOfYear` | `int`
`dayOfMonth` | `int`

Returns
`ViewAction` |

### setTime

    ViewAction setTime (int hours,
                    int minutes)

Returns a `ViewAction` that sets a time on a `TimePicker`.

Parameters
`hours` | `int`
`minutes` | `int`

Returns
`ViewAction` |

- ## Interfaces

  - RecyclerViewActions.PositionableRecyclerViewAction

- ## Classes

  - AccessibilityChecks
  - CountingIdlingResource
  - DrawerActions
  - DrawerMatchers
  - NavigationViewActions
  - PickerActions
  - RecyclerViewActions