public final class

PickerActions

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

Class Overview

Espresso action for interacting with DatePicker and TimePicker.

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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

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.