public final class PickerActions
extends Object
java.lang.Object | |
↳ | android.support.test.espresso.contrib.PickerActions |
意式咖啡与 DatePicker
和 TimePicker
互动。
也可以看看:
Public methods |
|
---|---|
static ViewAction |
setDate(int year, int monthOfYear, int dayOfMonth) 返回在 |
static ViewAction |
setTime(int hours, int minutes) 返回在 |
Inherited methods |
|
---|---|
From class java.lang.Object
|
ViewAction setDate (int year, int monthOfYear, int dayOfMonth)
返回在 ViewAction
上设置日期的 DatePicker
。
Parameters | |
---|---|
year |
int
|
monthOfYear |
int
|
dayOfMonth |
int
|
Returns | |
---|---|
ViewAction |
ViewAction setTime (int hours, int minutes)
Returns a ViewAction
that sets a time on a TimePicker
.
Parameters | |
---|---|
hours |
int
|
minutes |
int
|
Returns | |
---|---|
ViewAction |