Stay organized with collections Save and categorize content based on your preferences.

PickerActions

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

Summary

Public constructors

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.

Public constructors

PickerActions

public PickerActions()

Public methods

setDate

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

Returns a ViewAction that sets a date on a DatePicker.

setTime

public static ViewAction setTime(int hours, int minutes)

Returns a ViewAction that sets a time on a TimePicker.