GuidedDatePickerAction.BuilderBase
public
static
abstract
class
GuidedDatePickerAction.BuilderBase
extends BuilderBase<B extends BuilderBase>
Known Direct Subclasses
|
Base Builder class to build GuidedDatePickerAction. Subclass this BuilderBase when app needs
to subclass GuidedDatePickerAction, implement your build() which should call
applyDatePickerValues(GuidedDatePickerAction)
. When using GuidedDatePickerAction
directly, use GuidedDatePickerAction.Builder
.
Summary
Public methods |
B
|
date(long date)
Sets a Date for date picker in milliseconds since January 1, 1970 00:00:00 in
getDefault() time zone.
|
B
|
datePickerFormat(String format)
Sets format of date Picker or null for default.
|
B
|
maxDate(long maxDate)
Sets maximum Date for date picker in milliseconds since January 1, 1970 00:00:00 in
getDefault() time zone.
|
B
|
minDate(long minDate)
Sets minimal Date for date picker in milliseconds since January 1, 1970 00:00:00 in
getDefault() time zone.
|
Inherited methods |
From
class
android.support.v17.leanback.widget.GuidedAction.BuilderBase
|
From
class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait(long millis, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long millis)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
|
Public constructors
GuidedDatePickerAction.BuilderBase
GuidedDatePickerAction.BuilderBase (Context context)
Parameters |
context |
Context
|
Public methods
date
B date (long date)
Sets a Date for date picker in milliseconds since January 1, 1970 00:00:00 in
getDefault()
time zone.
Returns |
B |
This Builder Object.
|
datePickerFormat
B datePickerFormat (String format)
Sets format of date Picker or null for default. The format is a case insensitive String
containing the day ('d'), month ('m'), and year ('y'). When the format is not specified,
a default format of current locale will be used.
Parameters |
format |
String :
Format of showing Date, e.g. "YMD". |
Returns |
B |
This Builder object.
|
maxDate
B maxDate (long maxDate)
Sets maximum Date for date picker in milliseconds since January 1, 1970 00:00:00 in
getDefault()
time zone.
Returns |
B |
This Builder Object.
|
minDate
B minDate (long minDate)
Sets minimal Date for date picker in milliseconds since January 1, 1970 00:00:00 in
getDefault()
time zone.
Returns |
B |
This Builder Object.
|
Protected methods
applyDatePickerValues
void applyDatePickerValues (GuidedDatePickerAction action)
Apply values to GuidedDatePickerAction.
Parameters |
action |
GuidedDatePickerAction :
GuidedDatePickerAction to apply values.
|